-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Milestone
Description
TypeScript Version: 3.5.2
Search Terms:
Code
https://github.com/stereobooster/typescript-monorepo/tree/typescript-bug
(or https://github.com/stereobooster/learn-a/tree/watch-bug)
Expected behavior:
When I run yarn tsc --build I get an error
packages/b/src/B.tsx:5:1 - error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
5 "" / 0;
~~
but when I run watch it reports 0 errors:
[11:02:07 AM] Found 0 errors. Watching for file changes.
Actual behavior:
I expect watch mode to report errors.
Playground Link: need to clone repo, because it is monorepo
Related Issues: There are similar issues, but are not same
Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug