Add FAQ about enthusiastic patterns. Closes GH-36.
This commit is contained in:
parent
7a38126c4b
commit
3ec9cd8d7f
@ -121,6 +121,9 @@ This is because of your system's max opened file limit. For OSX the default is v
|
||||
#### Can I use this with Grunt v0.3?
|
||||
Yes. Although `grunt-contrib-watch` is a replacement watch task for Grunt v0.4, version `grunt-contrib-watch@0.1.x` is compatible with Grunt v0.3. `grunt-contrib-watch >= 0.2.x` is **only* compatible and recommended to use with Grunt v0.4.
|
||||
|
||||
#### Why is the watch devouring all my memory?
|
||||
Likely because of an enthusiastic pattern trying to watch thousands of files. Such as `'**/*.js'` but forgetting to exclude the `node_modules` folder with `'!node_modules/**/*.js'`. Try grouping your files within a subfolder or be more explicit with your file matching pattern.
|
||||
|
||||
|
||||
## Release History
|
||||
|
||||
@ -136,4 +139,4 @@ Yes. Although `grunt-contrib-watch` is a replacement watch task for Grunt v0.4,
|
||||
|
||||
Task submitted by [Kyle Robinson Young](http://dontkry.com)
|
||||
|
||||
*This file was generated on Wed Jan 09 2013 12:29:30.*
|
||||
*This file was generated on Mon Jan 14 2013 23:40:50.*
|
||||
|
@ -40,3 +40,6 @@ This is because of your system's max opened file limit. For OSX the default is v
|
||||
|
||||
## Can I use this with Grunt v0.3?
|
||||
Yes. Although `grunt-contrib-watch` is a replacement watch task for Grunt v0.4, version `grunt-contrib-watch@0.1.x` is compatible with Grunt v0.3. `grunt-contrib-watch >= 0.2.x` is **only* compatible and recommended to use with Grunt v0.4.
|
||||
|
||||
## Why is the watch devouring all my memory?
|
||||
Likely because of an enthusiastic pattern trying to watch thousands of files. Such as `'**/*.js'` but forgetting to exclude the `node_modules` folder with `'!node_modules/**/*.js'`. Try grouping your files within a subfolder or be more explicit with your file matching pattern.
|
||||
|
Loading…
Reference in New Issue
Block a user