-
Notifications
You must be signed in to change notification settings - Fork 287
Open
Labels
Description
Code autoreload support: Basically what Django's runserver does:
- Watch for code changes (using
pyinotifyif available, otherwise just keep polling for changes) - Reloads the webserver process.
Is this possible right now? If not, any plans of implementing this?
In my particular case, my workflow is usually:
- Launch
ptpython - Import some modules
- Instantiate some classes from those modules
- Run the methods I want to test of those classes / Run the functions I want to test (from the imported modules)
- Something doesn't work as expected: Go back to the editor, make some changes. This is when ptpython picks up the changes, and then it would have to re-run this session's history.
- Go back to ptpython's terminal, hit the Up key to re-select the previous line, Enter to execute it.
kdeenanauth, mirhmousavi, wizzup, egor83, maxwu and 4 moreazmeuk