Skip to content

Instantly share code, notes, and snippets.

@nfarina
Created March 15, 2024 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nfarina/d5538d16343830e41c9f3e031a65237e to your computer and use it in GitHub Desktop.
Save nfarina/d5538d16343830e41c9f3e031a65237e to your computer and use it in GitHub Desktop.
Reproduction of `tsc --watch` not working
{
"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"
}
}
// 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