3 ms·
To add to the list of very handy footguns: @reloading to hot-reload a function from source before every invocation (https://github.com/julvo/reloading https://
by julvo 4y ago
To add to the list of very handy footguns:
@reloading to hot-reload a function from source before every invocation (https://github.com/julvo/reloading https://github.com/julvo/reloading)
- gknoy 4y agoThat looks amazing, thank you! I wouldn't want it in my production code but it seems like it would be great for something that I'm working on in the REPL.
- neves 4y agoif you are using a REPL, first you should be using ipython. Second you should be running: %load_ext autoreload %autoreload 2 now all your imports will be automatically reloaded. So good that I have it in ipython startup scripts
- pizza 4y agoThere's also reloadium [0] for tight dev iteration loops https://reloadium.io https://reloadium.io