Grunt watch on plugin symlink
-
@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.
-
@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!