@aniinprni you might try renaming it to index.js instead. Or set "main": "library.js", in package.json
live editing theme
-
I want to develop a theme, how to edit the theme file then refresh the browser and see the change ?
-
Hi there,
Have you checked out the documentation on editing themes? https://docs.nodebb.org/development/themes/
-
Yes,I have read the documentation, the only way I can check the changes is restart the forum.
inconvenient...
-
The easiest way is to use
grunt
to automatically restart NodeBB when you've made a theme change: -
I prefer nodemon
-
Yes well we have a gruntfile set up to already watch the correct directories and do the correct building steps. I don't think nodemon call do that for you.
-
you are right, I saw the grunt file and using the grunt