Get the latest tech news
Jurigged: Hot Reloading for Python
Hot reloading for Python. Contribute to breuleux/jurigged development by creating an account on GitHub.
For example, some editors such as vi save into a temporary swap file and moves it into place, which used to cause issues (this should be fixed starting with v0.3.5). Inventory existing modules and functions: a. Insert an import hook that collects and watches source files. Jurigged's approach is more conservative and will only pick up on modified functions, but it will not touch anything else, so I believe it is less likely to have unintended side effects.
Or read this on Hacker News