Update: I figured out how to merge the accounts -- I just had to supply an email and the plugin did the rest.
But now I have another problem: How do I access the user's remote ID from the template? So that when someone clicks on the username/icon, they're redirected to my application's profile page as opposed to NodeBB's?
Grunt watch on plugin symlink
-
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!