It's in ACP admin/settings/general
live view for file edit
-
@charles you have to do a reload. if you don't want to do it manually... try using grunt
NodeBB will be reloaded automatically every time you modify a file.
https://docs.nodebb.org/en/latest/running/index.html#grunt-development
-
@pichalite much to learn thanks!
Installing Grunt
$ npm install -g grunt-cli
$ npm i grunt grunt-contrib-watchRun grunt to start up NodeBB and watch for code changes.
$ grunt -
I added
npm i grunt grunt-contrib-watch
to the above post since it was needed to solve the fatal error https://community.nodebb.org/topic/8311/fatal-error-unable-to-find-local-grunt/ that was showing in case anyone else comes here from a search. The above is all you need for automated nodebb refresh after file edits. -
$ npm i grunt grunt-contrib-watch
I recommend using
npm install
(no further parameters) instead. Since those packages are listed withindevDependencies
they will be installed as long you don't add--production
.
Suggested Topics
-
0 Votes2 Posts216 Views
-
error:invalid-files
Unsolved Technical Support0 Votes2 Posts225 Views
-
0 Votes1 Posts131 Views
-
0 Votes2 Posts1269 Views
-
0 Votes3 Posts967 Views