How do I set up my dev environment for child themes?
I'm trying to decide whether I want to fork persona or create a child theme. I set up the dev environment as a child and found that I have to run
./nodebb upgradeevery time I want to see my changes. Does forking make more sense? If so how do I set up my dev environment for that?
Also, side question, is there a template that applies global HTML?
Shard last edited by
When I have forked, in the past, I give the theme a new name and flip back and forth as needed.
You don't need to run
./nodebb upgradeevery time you make changes. You just need to run
./nodebb build. You can use the
--devflag to make it faster because you don't need minification during dev.
You can also use
gruntto dev but you'll need to disable the emoji plugin.