- Rollup Plugin Name: @rollup/plugin-typescript
- Rollup Plugin Version: 12.1.2 (Same in 12.1.4)
- Rollup Version: 4.40.0 (Same in 4.44.1)
- Operating System (or Browser):
- Node Version: 22.11.0
- Link to reproduction (⚠️ read below): https://github.com/phaserjs/template-rollup-ts
Steps to Reproduce:
- Clone the repo and run npm install.
- Start the dev server with:
- Open http://localhost:8080/ in your browser.
- Edit
src/game/scenes/MainMenu.ts (or any other TypeScript file in src/) and save - the changes are correctly reflected in the browser.
- Make a second change and save again.
Expected Behavior
Rollup's watch mode should detect subsequent changes and rebuild the affected files every time a save is triggered, reflecting those updates in the output.
Actual Behavior
After the first successful rebuild, subsequent file changes do not trigger any further recompilation. The dev server remains running, but updated code is not reflected.
Additional Information