admin管理员组

文章数量:1312982

When I open the developer menu with expo, it says:

Live Reload unavailable

and

Hot Reloading unavailable

I am signed in as is needed, I have also tried using the QR code to load the app, but it didn't help.

.expo/settings.json:

{
  "hostType": "lan",
  "lanType": "ip",
  "dev": true,
  "minify": false,
  "urlRandomness": "8s-6z3"
}

There is this, , but I am not using the Expo XDE.

I also tried:

watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf $TMPDIR/metro-*
rm -rf $TMPDIR/haste-*
npm start -- --reset-cache

and:

watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf node_modules
rm -f yarn.lock
yarn upgrade
yarn
npm install
expo start -c

When I open the developer menu with expo, it says:

Live Reload unavailable

and

Hot Reloading unavailable

I am signed in as is needed, I have also tried using the QR code to load the app, but it didn't help.

.expo/settings.json:

{
  "hostType": "lan",
  "lanType": "ip",
  "dev": true,
  "minify": false,
  "urlRandomness": "8s-6z3"
}

There is this, https://github./expo/expo/issues/1210, but I am not using the Expo XDE.

I also tried:

watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf $TMPDIR/metro-*
rm -rf $TMPDIR/haste-*
npm start -- --reset-cache

and:

watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf node_modules
rm -f yarn.lock
yarn upgrade
yarn
npm install
expo start -c
Share Improve this question asked Nov 16, 2018 at 15:42 ewizardewizard 2,8724 gold badges55 silver badges113 bronze badges
Add a ment  | 

4 Answers 4

Reset to default 6

This doesn't answer OP directly as his query is quite different: In my case the problem was I by mistake turned on the production mode so unchecking it helped me get hot-reloading working again:

In my case i use tunnel. this works for me. android device <- mac

It just randomly started working, I kept using the Refresh option in the developer menu to reload Expo.

I always left Expo open after terminating expo start.

Check your build mode. The fast reloading is available only in development mode. If you are in production mode, press p in the terminal using the expo-cli to toggle it back to development mode.

本文标签: javascriptreactnativeexpo Live ReloadHot Reload unavailableStack Overflow