Auto reload?
goojo opened this issue · comments
Is there an auto reload option for Whirlwind - so if I make a code change it would auto reload the running app in development mode?
thanks.
Out of the box no. Whenever you change a controller | model | filter etc... you will need to restart your server. That said you can skip a reboot by cleaning out the .pyc files which makes python recompile new ones from your new source.
If your on linux here is a command to do so.
find -name "*.pyc" -delete
That said, not much less typing there sadly.
You can also try running python with the -G file when you start the server (in dev mode). IE: python -G main.py