all repos — py-vite @ ad3a29f4adbb3f24b01bb02397d50ff7f1fc47f6

the original vite, written in python

fix(make.py): timer outside loop
Anirudh icyph0x@protonmail.com
Fri, 13 Apr 2018 21:44:51 +0530
commit

ad3a29f4adbb3f24b01bb02397d50ff7f1fc47f6

parent

bb98e0cfa31dde650c1041aea6b9b86855cb36a2

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M vite/make.pyvite/make.py

@@ -52,7 +52,7 @@ output = jinja_render(html_text, template_file)

with open(os.path.join(html_file, 'index.html'), 'w') as f: f.write(output) print(run('Rendered %s.' % (page))) - print(info('Done in %0.5fs.' % (time.process_time() - start))) + print(info('Done in %0.5fs.' % (time.process_time() - start))) except jinja2.exceptions.TemplateNotFound: print(bad('Error: specified template not found: %s' % (template_file)))