@pitaj Prior to running ./nodebb upgrade I always do apt-get-update apt-get-upgrade so the server is already fully updated.
If there is something else that NodeBB requires then it should be part of the nodebb upgrade command.
Hi, currently whenever I make any modification to my plugin, I will need to reload the entire list of plugins. The reloading process will take ~5 secs.
Is there any efficient method to reload only my plugin or only the changes that I have made? (for rapid development).
Any advice is appreciated. Thanks!
Absolutely. This is what Grunt is for, Grunt will watch your plugin files and reload resources when necessary.
Instead of starting your NodeBB with ./nodebb start
, just run grunt
. It runs in interactive mode, so make sure you keep the window/session open while developing.
Now if you change a file, Grunt will see the change and you can watch as it reloads only the necessary resources, and it's much faster at it than in production mode.