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

Disable File Watchers on XP (For real this time) #7170

Merged
merged 3 commits into from
Mar 12, 2014

Conversation

JeffryBooher
Copy link
Contributor

This pull request disabled file watching on XP. Here are the highlights:

  • Short circuiting the logic that passes file watching off to Node on XP
  • Continues to Disable our custom Windows File watcher Node Extension because it breaks extension loading
  • Clean up a few FileSystemError related things

@JeffryBooher
Copy link
Contributor Author

@peterflynn this is ready for your review

@@ -149,6 +149,13 @@ define(function (require, exports, module) {
}

/**
* Determines if we're running on Windows XP
*/
function _isRunningOnWindowsXP() {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drive-by: could just figure this out once on startup and store it in a var

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, and watchPath() will get called once per folder on Linux -- though I don't expect this to be any sort of perf botleneck. Seems reasonable to make the change though given that it's static information.

@peterflynn
Copy link
Member

@JeffryBooher Done reviewing. Looks good other than those minor nits.

@njx njx added this to the Sprint 37 milestone Mar 12, 2014
@njx
Copy link

njx commented Mar 12, 2014

Tagged sprint 37

@JeffryBooher
Copy link
Contributor Author

All changes made. I think it's ready for merging.

@peterflynn
Copy link
Member

Looks great!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants