increase MAX_WAIT_TIME

Summary:
increase the `MAX_WAIT_TIME` in FileWatcher since live reloading doesn't work for a lot of users on windows when developing android. There may be a better timeout than arbitrarily tripling it, I'm sure the original developer would be able to pick out a good one, but many of us have used this change to finally be able to use RN here on windows.

fixes https://github.com/facebook/react-native/issues/8784 https://github.com/facebook/react-native/issues/7257
Closes https://github.com/facebook/react-native/pull/10690

Differential Revision: D4126110

Pulled By: mkonicek

fbshipit-source-id: 9b6f188fe9d39bcdcc2b38392dfc644a518296b2
This commit is contained in:
mike qin 2016-11-03 18:09:08 -07:00 committed by Facebook Github Bot
parent b184c45275
commit 957ce4baca
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ const denodeify = require('denodeify');
const sane = require('sane');
const execSync = require('child_process').execSync;
const MAX_WAIT_TIME = 120000;
const MAX_WAIT_TIME = 360000;
const detectWatcherClass = () => {
try {