Added --reload argument to 'immutabase serve' command

Uses hupper to restart the server when the code changes. Useful for development.

Depends on https://pypi.python.org/pypi/hupper
This commit is contained in:
Simon Willison 2017-11-09 05:46:16 -08:00
commit abb591d832
2 changed files with 7 additions and 1 deletions

View file

@ -11,6 +11,7 @@ setup(
'click-default-group==1.2',
'sanic==0.6.0',
'sanic-jinja2==0.5.5',
'hupper==1.0',
],
entry_points='''
[console_scripts]