ewi*_*ard 1 javascript npm livereload react-native expo
当我用 expo 打开开发者菜单时,它说:
Live Reload unavailable
和
Hot Reloading unavailable
我根据需要登录,我也尝试使用二维码加载应用程序,但没有帮助。
.expo/settings.json:
{
"hostType": "lan",
"lanType": "ip",
"dev": true,
"minify": false,
"urlRandomness": "8s-6z3"
}
Run Code Online (Sandbox Code Playgroud)
有这个,https://github.com/expo/expo/issues/1210,但我没有使用Expo XDE.
我也试过:
watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf $TMPDIR/metro-*
rm -rf $TMPDIR/haste-*
npm start -- --reset-cache
Run Code Online (Sandbox Code Playgroud)
和:
watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf node_modules
rm -f yarn.lock
yarn upgrade
yarn
npm install
expo start -c
Run Code Online (Sandbox Code Playgroud)