Problem of Emoji.
Please check the url attribute within your config.json (within NodeBB root).
See https://community.nodebb.org/topic/3392/config-json-updated-base_url-and-relative_path-no-longer-exist/10 for more details on this.
Should grunt watch for file changes to a plugin attched by a symlink? It doesn't seem to be working for me.
@steinaro yes, it does.
Which file is it, and where is it located relative to the plugin root dir?
@julian Wow, thanks for the fast reply!
It is a plugin of my own design. Grunt doesn't seem to detect any file changes; templates, JS files, nothing. However when I build first, then start the server (either by NodeBB start or grunt) the plugin works according to my changes.
As a test, I have made small changes to NodeBB core files and grunt detected those changes. I am just wondering if there is a problem with having my plugin attached via a symlink, maybe??
@steinaro there shouldn't be a problem with symlinks, we do the same thing all the time.
What is your folder structure? Grunt only watches certain folders to make restarts faster.
You can see the folders watched here https://github.com/NodeBB/NodeBB/blob/master/Gruntfile.js#L56-L71
@baris That's it!
That was the problem, I changes the directory layout to something more familiar to me.
To test the solution I created a directory 'public' and saved a 'tmp.js' to it. I started grunt, changed the file and it recognized the change.
Thanks for your help!