@arya you can use grunt
.
After installing grunt-cli you can run the command
grunt
in your nodebb path. Every file changes will be recognized and build live on stage.
It's perfect for development purposes.
For optimized development, the NodeBB team (and many of the plugin authors) use Grunt as part of their workflow. The pre-requisite dependencies are installed with NodeBB during the npm install step, although you may need to install grunt-cli (or your distribution's appropriate package for grunt) to allow grunt to be called via the command line.
Once installed, you can simply run grunt to build all assets and run NodeBB. Grunt will also watch for file changes and selectively build a subset of NodeBB's assets so there is no need to hop back to the console to stop NodeBB, build, and restart NodeBB.
Alternatively, you can run grunt --skip, which skips the build step and simply runs NodeBB with file watching enabled.