Overview
This regression is almost certainly caused by #352. That's the only real commit in 4.1.2 and things work with 4.1.1. Furthermore that puts createWatchProgram in an if statement.
This issue has been reported by a few different users of the Sapper web framework (also created by Rich Harris) over the past few days sveltejs/sapper#1293
Environment
- Rollup Plugin Name:
@rollup/plugin-typescript
- Rollup Plugin Version: 4.1.2
- Rollup Version: 2.18.0
- Operating System (or Browser): Ubuntu
- Node Version: v12.16.3
How Do We Reproduce?
Reproduction repo
Steps:
- Clone and install
- Run
npm run dev
- Make a GET request, such as by visiting in the browser,
/fails and see the result 1
- Modify
src/routes/fails.ts and change 1 to 2. The change will be picked up and "rebuild"
- Do 3 again but still see
1 instead of the new 2
Expected Behavior
The page should change
Actual Behavior
The page doesn't change
Overview
This regression is almost certainly caused by #352. That's the only real commit in 4.1.2 and things work with 4.1.1. Furthermore that puts
createWatchProgramin anifstatement.This issue has been reported by a few different users of the Sapper web framework (also created by Rich Harris) over the past few days sveltejs/sapper#1293
Environment
@rollup/plugin-typescriptHow Do We Reproduce?
Reproduction repo
Steps:
npm run dev/failsand see the result1src/routes/fails.tsand change1to2. The change will be picked up and "rebuild"1instead of the new2Expected Behavior
The page should change
Actual Behavior
The page doesn't change