Description
Bug Report
π Search Terms
touch watch timestamp
π Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about timestamp/touch
β― Playground Link
N/A
π» Code
tsc --build --watch
π Actual behavior
Given a TSC output including:
-rw-r--r-- 1 root root 28561 Nov 3 13:25 app.js
-rw-r--r-- 1 root root 11643 Nov 3 13:25 app.js.map
Change a single file that isn't app.ts results in:
-rw-r--r-- 1 root root 28561 Nov 3 13:37 app.js
-rw-r--r-- 1 root root 11643 Nov 3 13:37 app.js.map
This completely kills downstream tools (e.g. the karma testing tool, when it is watching the output) that are watching the files for changes. Yes these could do a better job but the cause just seems so unnecessary and avoidable (especially with the --incremental option!).
π Expected behavior
-rw-r--r-- 1 root root 28561 Nov 3 13:25 app.js
-rw-r--r-- 1 root root 11643 Nov 3 13:25 app.js.map
Changes to TS files don't result in any changes to any JS file that didn't have it's TS file changed
-rw-r--r-- 1 root root 28561 Nov 3 13:25 app.js
-rw-r--r-- 1 root root 11643 Nov 3 13:25 app.js.map
I've tried with and without the --incremental flag and no joy.