Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watch files in 'node_modules' #136

Open
DeadcatDev opened this issue Jan 21, 2017 · 0 comments
Open

Watch files in 'node_modules' #136

DeadcatDev opened this issue Jan 21, 2017 · 0 comments

Comments

@DeadcatDev
Copy link

DeadcatDev commented Jan 21, 2017

I have case when i need to watch 1 directory in node_modules, let say 'aaa' folder.

My gulp-nodemon config looks like:

gulp.task('start', ['buildthewall'], () => {
    nodemon({
        exec: 'npm run start',
        watch: ['src', 'node_modules/aaa'],
        ext: 'js html dust',
        env: {
            'NODE_ENV': 'development'
        }
    })
});

Nodemon gets changes in files in

/src

works, but really don't care about any changes in

/node_modules/aaa

Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant