Nodemon: how to force watch sub dir of node_modules?

Created on 28 May 2016  路  1Comment  路  Source: remy/nodemon

output:

[nodemon] 1.9.2
[nodemon] reading config /data/web/default/test/nodemon.json
[nodemon] to restart at any time, enter `rs`
[nodemon] ignoring: /data/web/default/test/.git/**/* .nyc_output .sass-cache bower_components coverage /data/web/default/test/node_modules/**/*
[nodemon] watching: /data/web/default/test/node_modules/my-template-engine/**/* /data/web/default/test/build/**/*
[nodemon] watching extensions: js,json
[nodemon] starting `node build/watch.js w`
[nodemon] child pid: 4939
[nodemon] watching 4 files

nodemon.json

{
    "verbose" : true,
    "watch"   : [
        "./node_modules/very-simple-template", "./build"
    ],
    "execMap" : {
        "w": "./build/watch.js"
    },
    "ignoreRoot": false
}

I want to watch the module "my-template-engine" but no effect
watching 4 files <-- only 4 build script file is watching

Most helpful comment

Did you see this?
https://github.com/remy/nodemon/blob/master/faq.md#overriding-the-underlying-default-ignore-rules

>All comments

Did you see this?
https://github.com/remy/nodemon/blob/master/faq.md#overriding-the-underlying-default-ignore-rules

Was this page helpful?
0 / 5 - 0 ratings

Related issues

olalonde picture olalonde  路  3Comments

dimsmol picture dimsmol  路  4Comments

hkeio picture hkeio  路  3Comments

giacomorebonato picture giacomorebonato  路  5Comments

Bastorx picture Bastorx  路  5Comments