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

Commit 4776a53

Browse files
committed
Merge pull request #7332 from adobe/zaggino/stat-changed-path
Interim fix for #6803: don't warn when Node-side watcher stat fails
2 parents bcab0a2 + 647428d commit 4776a53

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/filesystem/impls/appshell/AppshellFileSystem.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ define(function (require, exports, module) {
3434
NodeDomain = require("utils/NodeDomain");
3535

3636
var FILE_WATCHER_BATCH_TIMEOUT = 200; // 200ms - granularity of file watcher changes
37-
37+
3838
/**
3939
* Callback to notify FileSystem of watcher changes
4040
* @type {?function(string, FileSystemStats=)}
@@ -91,7 +91,8 @@ define(function (require, exports, module) {
9191
if (needsStats) {
9292
exports.stat(path, function (err, stats) {
9393
if (err) {
94-
console.warn("Unable to stat changed path: ", path, err);
94+
// warning has been removed due to spamming the console - see #7332
95+
// console.warn("Unable to stat changed path: ", path, err);
9596
return;
9697
}
9798
_changeCallback(path, stats);

0 commit comments

Comments
 (0)