Restart the app #1719
Unanswered
Shahin-rmz
asked this question in
Q&A
Restart the app
#1719
Replies: 1 comment 2 replies
-
Hi @Shahin-rmz, that's great to hear! 😀 There's currently no built-in way to restart a NiceGUI app. But in some of our projects we do something like this: ui.button('restart app', on_click=lambda: os.utime('main.py')) This updates the modification time of the main.py file. Assuming you use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hello,
Today after just 2 and a half days of work, I have finished a web app, which I will show to my colleages.
That's why
NiceGUI
is impressive.For small refinement, I have a question.
Is there is way to
restart
the app after usingui.shutdown
?I want to the user be able to kill a process and work with the app again, if wanted.
Beta Was this translation helpful? Give feedback.
All reactions