Watch mode has stale cache when using aliases #444
Labels
kind: bug
Something isn't working properly
scope: cache
Related to the cache
scope: integration
Related to an integration, not necessarily to core (but could influence core)
scope: watch mode
Related to Rollup's watch mode
Rollup Version
3.20.2
Operating System (or Browser)
Windows 10 latest
Node Version (if applicable)
18.13.0
Link To Reproduction
https://stackblitz.com/edit/rollup-repro-jz3iti?file=package.json
OR
https://github.com/nfxpnk/rollup-test
Expected Behaviour
npm run watch
test/flying-saucer/base/global/index.ts
dist-test/start.js
test/flying-saucer/base/global/index.ts
present in builded filedist-test/start.js
Actual Behaviour
npm run watch
test/flying-saucer/base/global/index.ts
dist-test/start.js
dist-test/start.js
If you will run just regular build with
npm run build
it works as expected.Clean JS - not reproduceable - https://stackblitz.com/edit/rollup-repro-eghflu?file=rollup.config.js
The text was updated successfully, but these errors were encountered: