Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit ec17105

Browse files
committed
Merge pull request #6686 from adobe/jeff/filewatcher-fixes-windows
Implement node-module add-on for native Windows file watching
2 parents 49789f5 + d6ade93 commit ec17105

File tree

7 files changed

+627
-1
lines changed

7 files changed

+627
-1
lines changed

Diff for: src/filesystem/impls/appshell/AppshellFileSystem.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ define(function (require, exports, module) {
550550
*
551551
* @type {boolean}
552552
*/
553-
exports.recursiveWatch = appshell.platform === "mac";
553+
exports.recursiveWatch = appshell.platform === "mac" || appshell.platform === "win";
554554

555555
/**
556556
* Indicates whether or not the filesystem should expect and normalize UNC

Diff for: src/filesystem/impls/appshell/node/FileWatcherDomain.js

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ var fspath = require("path"),
5757
*/
5858
if (process.platform === "darwin") {
5959
fsevents = require("fsevents");
60+
} else if (process.platform === "win32") {
61+
fsevents = require("fsevents_win/fsevents_win");
6062
}
6163

6264
var _domainManager,

Diff for: src/filesystem/impls/appshell/node/node_modules/fsevents_win/binding.gyp

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

0 commit comments

Comments
 (0)