When user has already installed grunt-contrib-watch via npm before installing grunt-express, npm won't install it under grunt-express/node_modules (npm/npm#1341) which leads to the following:
> grunt express
>> Local Npm module "grunt-contrib-watch" not found. Is it installed?
However, other than the error, everything seems to work as normal.
Steps to repro:
Gruntfile:
module.exports = function (grunt) {
grunt.initConfig({
express: {
test: {}
}
});
grunt.loadNpmTasks("grunt-express");
}
> npm install grunt-contrib-watch
> npm install grunt-express
> grunt express
>> Local Npm module "grunt-contrib-watch" not found. Is it installed?
When user has already installed
grunt-contrib-watchvia npm before installinggrunt-express, npm won't install it undergrunt-express/node_modules(npm/npm#1341) which leads to the following:However, other than the error, everything seems to work as normal.
Steps to repro:
Gruntfile: