File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -625,9 +625,9 @@ the event.
625625The ` fs.watch ` API is not 100% consistent across platforms, and is
626626unavailable in some situations.
627627
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.
631631
632632#### Availability
633633
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ var assert = require('assert');
44var path = require ( 'path' ) ;
55var fs = require ( 'fs' ) ;
66
7- if ( process . platform === 'darwin' ) {
7+ if ( process . platform === 'darwin' || common . isWindows ) {
88 var watchSeenOne = 0 ;
99
1010 var testDir = common . tmpDir ;
@@ -46,4 +46,6 @@ if (process.platform === 'darwin') {
4646 setTimeout ( function ( ) {
4747 fs . writeFileSync ( filepathOne , 'world' ) ;
4848 } , 10 ) ;
49+ } else {
50+ console . log ( '1..0 # Skipped: recursive option is darwin/windows specific' ) ;
4951}
You can’t perform that action at this time.
0 commit comments