Skip to content

Commit

Permalink
increase MAX_WAIT_TIME
Browse files Browse the repository at this point in the history
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 facebook/react-native#8784 facebook/react-native#7257
Closes facebook/react-native#10690

Differential Revision: D4126110

Pulled By: mkonicek

fbshipit-source-id: 9b6f188fe9d39bcdcc2b38392dfc644a518296b2
  • Loading branch information
1mike12 authored and Facebook Github Bot committed Nov 4, 2016
1 parent b184c45 commit 957ce4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-packager/src/node-haste/FileWatcher/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 957ce4b

Please sign in to comment.