@pichalite said in Changes to theme .tpl files don't show live:
@Jarko you may have to switch the theme in ACP again before running build. You can also set the theme from command line which also runs the build.
./nodebb reset -t mywebsite
I had swtiched the theme already in the APC. I also tried this command, it runs fine, but nothing changed
Out of curiosity, I changed the files directly in the persona theme (which I guess is something I shouldn't do), uploaded and built, then switched to the persona theme in the ACP and restarted. Surprise surprise, the changes now work, I can see them in
build/public and when browsing the forums... which reinforces my hypothesis that I did something wrong in the creation of my new template and somehow NodeBB is falling back on the persona theme (or the files of the persona theme) even tho the ACP says the theme mywebsite is active.
When creating a new theme, what are the files that need to be changed? Could
package.json have something to do with this? I never touched that one...