Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug automatically restart #1548

Open
tsiens opened this issue Dec 19, 2024 · 4 comments
Open

debug automatically restart #1548

tsiens opened this issue Dec 19, 2024 · 4 comments

Comments

@tsiens
Copy link

tsiens commented Dec 19, 2024

Can PyWebview automatically restart the service like Flask's debug mode when Python code is changed? Currently, it seems that PyWebview's debug feature only opens the F12 console.
Any guidance on achieving automatic restarts or alternative solutions would be greatly appreciated.
Thank you!

@r0x0r
Copy link
Owner

r0x0r commented Dec 19, 2024

No, it cannot. I haven't researched this feature, nor I am sure if it is possible.

@tsiens
Copy link
Author

tsiens commented Dec 20, 2024

No, it cannot. I haven't researched this feature, nor I am sure if it is possible.

I think I really need this feature. Currently, every time there is a code change, I need to close the exe and run it again。
If it can be achieved, thank you very much

@r0x0r
Copy link
Owner

r0x0r commented Dec 20, 2024

py-mon or nodemon may be an answer to your problems

@tsiens
Copy link
Author

tsiens commented Dec 23, 2024

py-mon or nodemon may be an answer to your problems

Thank you very much. Although it is a cold update and cannot be updated as hot as Flask, but at least it is more convenient than manually updating it now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants