gruntjs / grunt-contrib-watch

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

Root Folder Changes Triggering Tasks #551

Open deckar01 opened 6 years ago

deckar01 commented 6 years ago

I noticed a few closed issues about the root directories being watched, but I am seeing messages about them being "added" and when I change files in the root directory. My files option does not include the root directory. This only seems to happen once. Subsequent changes to root files do not trigger any "added" messages or tasks.

deckar01 commented 6 years ago

Here is the output I am seeing:

$ grunt watch:copy
Running "watch:copy" (watch) task
Waiting...
>> File ".git" added.
>> File ".gitlab" added.
>> File ".grunt" added.
>> File ".tools" added.
>> File "bin" added.
>> File "bower_components" added.
>> File "build" added.
>> File "node_modules" added.
>> File "tests" added.
Running "copy:build" (copy) task
Created 193 directories, copied 1389 files

Done.
Completed in 2.610s at Tue Feb 13 2018 10:45:10 GMT-0600 (CST) - Waiting...