to me, philosophically, restarting an app automati...
# tornadofx
a
to me, philosophically, restarting an app automatically after it crashes doesn't support the point of an app crashing. Why would you want this as a feature?
g
@amanda.hinchman-dominguez the issue is the people using the app won't be interactive much with it. But the app is making lot of background service calls and it just might crash. So, the main aim is don't want the user to be bother with restarting the app in case such thing happens.
a
@g4sarma ah! now that makes more sense. In that case, I take it back. That is a good idea! Will your background service app be running by web by any chance?
g
By web ?
c
@amanda.hinchman-dominguez an option to restart after a crash would be making the best of a bad situation
👍 1
a
sorry, nm. I mean to say that if you WERE to use scripting, NPM has a great CLI tool called forever
it ensures your script will run continuously
g
Hmmm interesting, i will check out forever @amanda.hinchman-dominguez
I think @carlw did it for the similar reasons.
a
I've used Forever for a slackbot I made for my company. I love it. Start it and forget about it 🙂
g
Do you have the link handy ?
a
this may or may not have the tools you'll need. I think you'll still have to create a solution programmatically for a crash but well worth the use
dnjf