Alternatively, just install it with the --save flag and it will pin the current version in your package.json
npm install --save sparkpost
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.
Hey there @devmattrick ! Always glad to see new people writing plugins.
Look into using grunt to automate the restart and build process when writing plugins.
@devmattrick i think you can use grunt to benefit from file refreshing and to avoid restarting nodebb on plugin development.
Haven't tried it myself and probably another devs can tell you if there's another option or an updated one.
@jarey Ha! inb4
@jarey it doesn't work because dependencies are out of date .
@Tomas-Pavlacky seems that we will have to submit a PR to update those dependencies. Did you managed to make it work?