grunt-contrib-watch icon indicating copy to clipboard operation
grunt-contrib-watch copied to clipboard

inotify should be used on Linux.

Open nextgenthemes opened this issue 7 years ago • 0 comments

I saw a old issue https://github.com/gruntjs/grunt-contrib-watch/issues/255 about this, someone claimed that is used for "some files". But did not specify that further. I checked gaze that is supposed to use inotify on linux but could not find any reference to it.

Based on the fact that on my i7-4790K CPU @ 4.00GHz I get some cores go high as 40% and my CPU fan spins up because of that while I watch some **/*.php/css/js files I say inotify is not used and probably never was properly. Why would it make sense to use it for "some file" and not for others? That makes no sense.

When I manually watch a folder with a bash inotofywait script my CPU stays pretty much idle, inotify is extremely efficient and should be used in this project.

nextgenthemes avatar Mar 16 '17 22:03 nextgenthemes