File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -625,9 +625,9 @@ the event.
625
625
The ` fs.watch ` API is not 100% consistent across platforms, and is
626
626
unavailable in some situations.
627
627
628
- The recursive option is currently supported on OS X. Only FSEvents supports this
629
- type of file watching so it is unlikely any additional platforms will be added
630
- soon.
628
+ The recursive option is currently supported on OS X and Windows . Only FSEvents
629
+ supports this type of file watching so it is unlikely any additional platforms
630
+ will be added soon.
631
631
632
632
#### Availability
633
633
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ var assert = require('assert');
4
4
var path = require ( 'path' ) ;
5
5
var fs = require ( 'fs' ) ;
6
6
7
- if ( process . platform === 'darwin' ) {
7
+ if ( process . platform === 'darwin' || common . isWindows ) {
8
8
var watchSeenOne = 0 ;
9
9
10
10
var testDir = common . tmpDir ;
@@ -46,4 +46,6 @@ if (process.platform === 'darwin') {
46
46
setTimeout ( function ( ) {
47
47
fs . writeFileSync ( filepathOne , 'world' ) ;
48
48
} , 10 ) ;
49
+ } else {
50
+ console . log ( '1..0 # Skipped: recursive option is darwin/windows specific' ) ;
49
51
}
You can’t perform that action at this time.
0 commit comments