Created
March 15, 2024 16:34
-
-
Save nfarina/d5538d16343830e41c9f3e031a65237e to your computer and use it in GitHub Desktop.
Reproduction of `tsc --watch` not working
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "tsc-test", | |
"version": "1.0.0", | |
"description": "tsc watch problem repro", | |
"license": "ISC", | |
"scripts": { | |
"start": "tsc test.ts --watch" | |
}, | |
"dependencies": { | |
"typescript": "^5.4.2" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// First run "npm run start", then uncomment the next line to see that | |
// TypeScript versions >= 5.4.2 will not see the error until you restart | |
// the TypeScript server. | |
// uncomment me and save! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment