Environment
MAC OS 10.14.6
"dependencies": {
"react": "16.9.0",
"react-native": "0.61.5"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/runtime": "^7.8.4",
"@haul-bundler/babel-preset-react-native": "^0.16.0",
"@haul-bundler/preset-0.60": "^0.17.0",
"@haul-bundler/cli": "^0.17.0",
"@react-native-community/eslint-config": "^0.0.7",
"babel-jest": "^25.1.0",
"eslint": "^6.8.0",
"jest": "^25.1.0",
"metro-react-native-babel-preset": "^0.58.0",
"react-test-renderer": "16.9.0"
},
module.exports = {
presets: ['module:@haul-bundler/babel-preset-react-native'],
};
import {withPolyfills, makeConfig} from '@haul-bundler/preset-0.60';
export default makeConfig({
bundles: {
index: {
entry: withPolyfills('./index'),
},
},
});
Description
After launching app, changing code and refreshing it in simulator (cmd + r), nothing happens.
Looks like bundler always sends an initial bundle, and do not updating it.
If i kill bundle process and re-launch it, i will see an updated code.
Reproducible Demo
I have faced this issue with completely new project.
- do react-native init App
- install "haul" according to "Getting started" documentation
- change App.js
- press refresh
==================================
-
open simulator

-
change code
-
press refresh

Nothing...
-
kill process

-
Repeat

Environment
MAC OS 10.14.6
Description
After launching app, changing code and refreshing it in simulator (cmd + r), nothing happens.
Looks like bundler always sends an initial bundle, and do not updating it.
If i kill bundle process and re-launch it, i will see an updated code.
Reproducible Demo
I have faced this issue with completely new project.
==================================
open simulator

change code
press refresh

Nothing...
kill process

Repeat
