How to allow restarting when using Forever?
-
I run my NodeBB system setup using:
forever start app.js
.But I've just realised than running the app like this prevents me from restarting it inside the admin (Clicking the restart button does nothing), how can I fix this?
When running via
./nodebb start
, it works fine of course. But that drops Forever. -
@julian it does!?
Since when?
Are those docs about keeping it running only for Dev purposes?
"However, bear in mind that crashes will cause the NodeBB process to halt, bringing down your forum. Consider some of the more reliable options, below:"
Leading to Forever.
-
@Nicekiwi You can go to the github repo of the plugin and see when it was last updated, recent ones are guaranteed to work (unless they're mine and I've not finished them yet.)
Anything updated in the last 2 months or so will work, as 0.4.0 or 0.4.3 brought in a few changes to the plugin system.
So if any of the commits have "support for 0.4.x" in them, they're probably fine.
-
A number of changes to v0.5.0 end up breaking a whole bunch of plugins. But the good news is after v0.5.0, we'll enter a non-breaking-change phase where successive patch versions (v0.5.1, 0.5.2, etc) will not break compatibility... or we'll try not to, rather.