gruntjs / grunt-contrib-watch

Run tasks whenever watched files change.
http://gruntjs.com/
MIT License
1.98k stars 356 forks source link

Grunt watch in docker : all files changed problem #453

Closed trompx closed 9 years ago

trompx commented 9 years ago

Hello,

Until now I was using grunt directly installed on my VM and everthing was good. I try to containerize grunt in a docker container, but now when I change a single file, grunt watch print all watched files as "changed", not just the file I modified.

I have multiple watch rules :

If I modifiy a javascript file, even the stylesheets and html/php files are detected as changed. Besides if I don't set a debounce delay, grunt continuously fires...

Any idea why ?

Thanks for the help

trompx commented 9 years ago

In my package.json, updating grunt sass to :

"grunt-sass": "git://github.com/sindresorhus/grunt-sass",

solved it for me !