--reload option monitors for any change to modules in sys.modules so
changing any loaded module should trigger a reload.

Are you sure you are actually serving the application from the files you
are modifying?
Most common case for this is installing the application with ``setup.py
install`` instead of ``setup.py develop`` which ends up creating a
different copy of the application.


On Sat, Apr 15, 2017 at 3:54 PM, <[email protected]> wrote:

> Hi
>
> I'm using Tg2.3.9 on a Ubuntu 16.04.02 machine
>
> I can run "gearbox serve --reload" and serve my project without a problem.
> I get "*INFO  [gearbox] Starting subprocess with file monitor*"
> But the --reload option doesn't function as expected
> When I save a file in my project directory, say "root.py", nothing happens.
>
> I'm testing things to look for a solution, I found that when I change and
> save this file (or others in the gearbox path)
> "/home/USERNAME/.virtualenvs/ENVNAME/local/lib/python2.7/
> site-packages/gearbox/__init__.py"
> The reload function works, and the project is reloaded
>
> What can I do?
>
> Thanks for the help
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/turbogears.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to