https://github.com/danr/parcel-hmr-dependency
Bug report of parcel's hmr dependency calculation
https://github.com/danr/parcel-hmr-dependency
Last synced: over 1 year ago
JSON representation
Bug report of parcel's hmr dependency calculation
- Host: GitHub
- URL: https://github.com/danr/parcel-hmr-dependency
- Owner: danr
- Created: 2018-04-23T10:11:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-23T10:18:55.000Z (over 8 years ago)
- Last Synced: 2025-01-23T15:39:53.430Z (over 1 year ago)
- Language: JavaScript
- Size: 33.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# parcel hmr dependency bug
https://github.com/parcel-bundler/parcel/issues/1232
```
yarn
yarn run serve
```
HMR should be activated and you can change the literal string in `src/view.js`.
However, updating the value of `value` in `src/model.js` updates it in the console from `index.js` but the `view` module does not get updated, even though it depends on this value.
Removing the import of `model` (and its console output) from `src/index.js` makes `view` reload `model` when it is updated.