Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
squash: add a comment for future maintainers
  • Loading branch information
lholmquist committed Nov 6, 2019
commit 1ec46c65bf472cb234cc69423ed18fa111fa0625
4 changes: 4 additions & 0 deletions lib/internal/fs/watchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ StatWatcher.prototype[kFSStatWatcherStart] = function(filename,
}
};

// To maximize backword-compatiblity for the end user
// a no-op stub method has been added instead of
// totally removing StatWatcher.prototpye.start.
// This should not be documented
StatWatcher.prototype.start = () => {};

// FIXME(joyeecheung): this method is not documented while there is
Expand Down