Plugin Development Workflow
-
Hi there,
I'm new to NodeBB and I've been looking I to developing plugins. I've read the documentation and get the gist of how everything works and I have my plugin set up using symbolic links so I can modify and update it in the node_modules folder as I make changes. My main question is if there is some sort of hot plugin reloading feature available which can reflect changes made in the plugin without having to reload the entire NodeBB instance. It seems tedious to have to restart NodeBB every time you make a change to your plugin.
Thanks for your time.
-
@devmattrick i think you can use grunt to benefit from file refreshing and to avoid restarting nodebb on plugin development.
nodebb-grunt/README.md at master 路 NodeBB-Community/nodebb-grunt
Comfortable development on NodeBB plugins, themes, etc. - nodebb-grunt/README.md at master 路 NodeBB-Community/nodebb-grunt
GitHub (github.com)
Haven't tried it myself and probably another devs can tell you if there's another option or an updated one.
Regards.
-
@Tomas-Pavlacky seems that we will have to submit a PR to update those dependencies. Did you managed to make it work?