https://github.com/simonihmig/watch-test
https://github.com/simonihmig/watch-test
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/simonihmig/watch-test
- Owner: simonihmig
- License: mit
- Created: 2024-12-04T18:26:05.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-05T11:35:06.000Z (6 months ago)
- Last Synced: 2025-03-11T01:08:30.621Z (3 months ago)
- Language: JavaScript
- Size: 195 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# watch-test
Reproduction of v2 addon watching not working when `BROCCOLI_ENABLED_MEMOIZE` is enabled.
To reproduce:
### classic build
Uses `watchDependencies` of `ember-auto-import` to watch for changes in `watch-test` addon.
1. `cd classic-app`
2. `BROCCOLI_ENABLED_MEMOIZE=true pnpm start`
3. separate terminal: `cd watch-test`
4. `pnpm start`
5. change `src/components/watch-test.hbs`
6. Observe how `file changed components/watch-test.js` is shown in the terminal where the app is running
7. Observe how `http://localhost:4200/` is _not_ updating