-
Notifications
You must be signed in to change notification settings - Fork 38k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtasksTask system issuesTask system issuesverifiedVerification succeededVerification succeeded
Milestone
Description
- VSCode Version: 1.30.2
- OS Version: macOS X 10.13.6 (17G4015)
Steps to Reproduce:
- Open a package with
referencesin thetsconfig.jsonfile - Attempt to execute the
tsc : watch - tsconfig.jsonbuild task - Behold the
tscerror (pardon my french):> Executing task: tsc --watch -b /Repro/tsconfig.json < error TS6369: Option '--build' must be the first command line argument. Le processus du terminal s'est achevé avec le code de sortie 1 Le terminal sera réutilisé par les tâches, appuyez sur une touche pour le fermer.
Does this issue occur when all extensions are disabled?: Yes
The issue appears to be caused by the -b being added at tasks.ts:221 and --watch being prepended to that value at tasks.ts:200, resulting in an invalid invocation of tsc. A possible solution might be to append --watch at the end instead of prepending.
Reactions are currently unavailable
Metadata
Metadata
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtasksTask system issuesTask system issuesverifiedVerification succeededVerification succeeded