mherrmann / fbs

Create Python GUIs with Qt in minutes
https://build-system.fman.io
GNU General Public License v3.0
3.8k stars 194 forks source link

feature: Hot module replacement #264

Open bicarlsen opened 2 years ago

bicarlsen commented 2 years ago

I'm not sure if it's possible, but hot module replacement would be amazing to have. Or just a builtin file watcher that automatically runs fbs run on file changes.

mherrmann commented 2 years ago

I'd say it's outside the scope of fbs at this point. But maybe the community will find and share some possible solutions here :-)

meramsey commented 2 years ago

if your using tornado it has that built in could probably copy it from them for your needs love the idea of like npm run start but for python

https://www.tornadoweb.org/en/stable/autoreload.html

I just found this but tried this but looks promising https://reloadium.io/