-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make "react-native start" work on Windows #2989
Conversation
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks! |
Thanks for doing this! This way we lose the I think a safer way would be to check for OS and only do this on Windows. nit: Please keep the indentation. |
Based on #2989 Thanks @BerndWessels!
@BerndWessels I committed your change in a5463c4, thanks for the fix! If you want you could make the |
When I run react-native start I get a watcher took too long to load error, any workaround? |
@yeso126 What version of watchman are you using? Can you tweak the watcher timeout at the line where it throws the error? The file can be found in |
I'm trying to run react-native start on windows, watchman is not supported |
Ah of course sorry. We're using sane to do file watching. Not sure what causes the watcher to time out on Windows. Can you try increasing the timeout in this file (under your |
Based on facebook#2989 Thanks @BerndWessels!
Based on facebook#2989 Thanks @BerndWessels!
This is necessary to run
react-native start
on Windows.