all repos — py-vite @ 1992b9c28911d151047cb6fc0a3647c5c124e367

the original vite, written in python

fix(make.py): typo
Anirudh icyph0x@pm.me
Sun, 15 Apr 2018 17:58:59 +0530
commit

1992b9c28911d151047cb6fc0a3647c5c124e367

parent

38f528e99404b8c1d6f38bb4c64db47943d4ff3d

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

jump to
M make.pymake.py

@@ -66,6 +66,7 @@ with open(os.path.join(html_file, 'index.html'), 'w') as f:

f.write(output) print(run('Rendered %s.' % (page))) + def server(): handler = http.server.SimpleHTTPRequestHandler os.chdir(BUILD_PATH)

@@ -77,7 +78,7 @@ print(white('Ctrl+C') + ' to stop.')

httpd.serve_forever() except KeyboardInterrupt: print(info('Stopping server.')) - http.server_close() + httpd.server_close() sys.exit(1) def main():