Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger doesnt compile TypeScript for the second time #102604

Closed
cborac opened this issue Jul 15, 2020 · 3 comments
Closed

Debugger doesnt compile TypeScript for the second time #102604

cborac opened this issue Jul 15, 2020 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@cborac
Copy link

cborac commented Jul 15, 2020

  • VSCode Version: 1.48.0-insider
  • OS Version: Windows 10 Pro | 10.0.18363 N/A Build 18363

When I try to debug some code, it doesnt compiles the new version and directly executes & debuges

Steps to Reproduce:

  1. Write a code in TS
  2. Compile and run with the debugger
  3. Watch your old code running.

Does this issue occur when all extensions are disabled?: Yes/No
Yes

@connor4312
Copy link
Member

/duplicate of #102296

General tip: you can use tsc -w to watch your source code and incrementally compile, which is much faster than rebuilding from scratch each time.

Here's a task:

{
  "label": "npm: watch",
  "type": "npm",
  "script": "watch",
  "problemMatcher": ["$tsc-watch"],
  "presentation": {
    "reveal": "silent"
  },
  "group": "build",
  "isBackground": true
}

That runs my npm script containing tsc -w

@connor4312 connor4312 assigned connor4312 and unassigned weinand Jul 15, 2020
@connor4312
Copy link
Member

Solution here: #102296 (comment)

@github-actions github-actions bot locked and limited conversation to collaborators Aug 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

4 participants
@weinand @connor4312 @cborac and others