mirror of https://github.com/status-im/metro.git
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:
parent
b184c45275
commit
957ce4baca
|
@ -13,7 +13,7 @@ const denodeify = require('denodeify');
|
||||||
const sane = require('sane');
|
const sane = require('sane');
|
||||||
const execSync = require('child_process').execSync;
|
const execSync = require('child_process').execSync;
|
||||||
|
|
||||||
const MAX_WAIT_TIME = 120000;
|
const MAX_WAIT_TIME = 360000;
|
||||||
|
|
||||||
const detectWatcherClass = () => {
|
const detectWatcherClass = () => {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue