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 #8784 #7257
Closes #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 dca53fe commit 0221b27
Showing 1 changed file with 1 addition and 1 deletion.
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 0221b27

Please sign in to comment.