update the way of starting packager on windows

update the way of starting packager on windows
This commit is contained in:
sunnylqm 2015-11-16 15:01:48 +08:00
parent 5c9837a080
commit 27a0ce3ead
1 changed files with 10 additions and 0 deletions

View File

@ -19,5 +19,15 @@ As of **version 0.14** Android development with React native is mostly possible
On Windows the packager won't be started automatically when you run `react-native run-android`. You can start it manually using:
#For React Native version < 0.14
cd MyAwesomeApp
node node_modules/react-native/packager/packager.js
#For React Native version >= 0.14 which had removed packager.js)
cd MyAwesomeApp
react-native start
If you hit a `ERROR Watcher took too long to load` on Windows, try increasing the [timeout](https://github.com/facebook/react-native/blob/master/packager/react-packager/src/FileWatcher/index.js#L17) in this file (under your node_modules/react-native).