关于在Windows环境下开发反应的热重新加载问题 [英] Hot Reloading issue about developing react native On Windows Envioment
问题描述
Everybody。
我最近正在开发React Native。
我已经成功地创建了一个Android应用程序示例作为安装指南:
https://facebook.github.io/react-native/docs/getting -started.html _
但热重新加载功能不适合我... _
所以开发不是很方便。
我没有mac来测试React Native,我的开发环境是基于Windows 7的,android studio(Android SDK,JDK1.8),HTC one(Android 5.0.2)
这是原因,当index.android.js文件更改时,本机启动服务器不会触发?_
或者我应该在项目中添加一些插件?像webpack或看门人一样.. ???
谢谢!
Everyone.
I'm developing React Native lately.
I've successfully created a android app sample as installation guide:
https://facebook.github.io/react-native/docs/getting-started.html
but the Hot Reloading function is not working for me...
so it's not really convenient to develop something.
I don't have mac to test React Native and my development environment is based on Windows 7,
android studio(Android SDK, JDK1.8), HTC one(Android 5.0.2)
Is it the reason react-native start server not firing when index.android.js file changed?
or some plugin I should add in the project? like webpack or watchman..
thanks!
推荐答案
安装最新的NodeJS长期支持版本6.10.x)应该解决这个问题。
Installing the latest NodeJS Long Term Support release (6.10.x) should fix this issue.
这篇关于关于在Windows环境下开发反应的热重新加载问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!