How to see changes on browser asap when I've just change some code in my theme or plugin?
-
please help, I have to exec this command so frequently ./nodebb reload , waste of time.
thx so much -
@thuanpq.io use grunt. NodeBB will automatically reload when you change files.
Install these modules
npm i grunt grunt-contrib-watch
After these modules are installed just run
grunt
and NodeBB will start in watch mode. Any changes to files will reload NodeBB. -
@pichalite thank u so much, nodebb auto reload when I update my language json already.
-
@pichalite said in How to see changes on browser asap when I've just change some code in my theme or plugin?:
@thuanpq.io use grunt. NodeBB will automatically reload when you change files.
Install these modules
npm i grunt grunt-contrib-watch
After these modules are installed just run
grunt
and NodeBB will start in watch mode. Any changes to files will reload NodeBB.how to run grunt
-
npm i grunt -g grunt