How to load your new grunt-plugin module to your project.
example of dir structure:
|-- abc-project
| |-- ...
| |-- app.js
| |-- Gruntfile.js --> `grunt.loadNpmTasks('my-grunt-plugin');`
| \-- package.json
|
\-- my-grunt-plugin
|-- grunt-tasks
| |-- task-a.js --> `grunt.registerTask('task-a', 'running task a', function() { ... });`
| \-- task-b.js
\-- ...
- run
npm linkcommand insidemy-grunt-plugindir. - link your local grunt plugin module by running
npm link my-grunt-plugincommand insideabc-projectdir. - run
grunt task-acommand, it will logLocal Npm module "my-grunt-plugin" not found. Is it installed?