3 ms·
Live reloading is difficult, but it has some use cases. There was some interesting discussion the last (?) time the topic was posted [1] and some links to simi
by uniqueuid 4y ago
Live reloading is difficult, but it has some use cases.
There was some interesting discussion the last (?) time the topic was posted [1] and some links to similar projects.
In general, the limitations seem to prevent me from using techniques such as this as a default.
[1] https://news.ycombinator.com/item?id=26035623 https://news.ycombinator.com/item?id=26035623
- kwazar90 4y agoWhat limitations exactly do you have in mind? Reloadium does not cause issues with redefined objects ("is" operator issues)
- uniqueuid 4y agoOne thing that comes to mind is additional imports. For example, what would happen with Reloadium if an edit introduces a circular dependency? Will it resolve a tree of changes to multiple files?
- kwazar90 4y agoIf you intruduce a circular dependency (or any Python execution error) it will rollback all already applied actions, highlight the issue and wait for you to fix it. Reloadium reloads modules across the whole project so it is possible.