ignite: App is not hot reloaded on AVD (linux)
What’s going on? I can’t get the server to hot reload
Steps to reproduce I ran many commands before being in this situation so it might comes from previous things.
rm -rf app
ignite new app
cd app
npm run clean
npm run clean:android
npm start
- Build is lunched on device
- I get error message because server is not up with npm start
- I
npm start - Manual refresh on device
- my AVD load the build, progress bar both in terminal and device.
- Then the device becomes white.
- I run again
react-native run-androidin a new shell, the app get reinstalled and I can see DevScreens. - I change a file , (eg. <Text/> in App/Components/RoundedButton.js#L36), nothing happen.
- I run again
react-native run-androidin a new shell, the app get reinstalled etc …
Why my app isn’t hot reloaded at file change ? I tried few reinstall, same thing always.
info: npm run test:watch works like a charm, files are watched and tests are run
ignite doctor results:
System
platform linux
arch x64
cpu 4 cores Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
directory /home/libre/dev/app
JavaScript
node 7.7.4 /home/libre/.nvm/versions/node/v7.7.4/bin/node
npm 4.1.2 /home/libre/.nvm/versions/node/v7.7.4/bin/npm
yarn 0.27.5 /home/libre/.nvm/versions/node/v7.7.4/bin/yarn
React Native
react-native-cli 2.0.1
app rn version 0.45.1
Ignite
ignite 2.0.0 /home/libre/.nvm/versions/node/v7.7.4/bin/ignite
Android
java 1.8.0_131 /usr/bin/java
android home - /home/libre/Android/Sdk
Some another logs: just here on pastebin
From https://github.com/infinitered/ignite/issues/1119, my app is not called “app” but our commercial trademark.
PS: Feel free to change the title or suggest a new one
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (6 by maintainers)
Does this work with react native by itself?