I'm new with nodebb, i suppose i did some mistake using ./nodebb upgrade and git pull combined, i've make a fresh install and it work. Anyway i've just switched to release and begin to work with plugin and child theme.
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