question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Task reconnection does not work when rerunning build task

See original GitHub issue

Steps to reproduce:

  • in vscode repo run the default build task Cmd+Shift+B and wait for it to finish
  • reveal terminal once, hide it again
  • restart the build task (see keyboard config below) via Cmd+Shift+Alt+B
  • wait for the “Loading…” to show in status bar
  • reload window

🐛 the loading indicator and the build task indicator are gone

Keybinding:

{
    "key": "cmd+shift+alt+b",
    "command": "workbench.action.tasks.runTask",
    "args": "Restart VS Code - Build"
}

Recording 2022-11-30 at 07 52 35

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
meganroggecommented, Dec 14, 2022

@bpasero this was fixed yesterday, so should be fixed in today’s build. It appears you’re using the build from a day ago. Pls reopen if not

0reactions
bpaserocommented, Dec 15, 2022

This still reproduces for me with the steps outlined in my first comment:

  • open vscode folder only have explorer and editor visible, no terminal our any panel
  • have no build task running
  • close vscode
  • open vscode
  • run default build task (no terminal or panel visible still)
  • wait for that to finish
  • drag the panel area visible from status bar so that it reveals terminals
  • close panel
  • rerun default build task, wait for “building…”
  • reload window
  • notice how the status bar does not show the tasks

Video below, this is after I had started a build task that completed: Recording 2022-12-15 at 07 45 22

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support reconnect in tasks #117408 - microsoft/vscode - GitHub
Terminals now reconnect when reloading local or remote windows. If a task is running at the time this will still reconnect the terminal...
Read more >
Kafka Connect - how to get a failed task to restart with a new ...
We have connect jobs that we pause, update config, and then resume. This works fine, unless the task has failed. If we restart...
Read more >
Mapped network drive may fail to reconnect in Windows 10 ...
In Task Scheduler, select Action > Create Task. On the General tab in the Create Task dialog box, type a name (such as...
Read more >
discord.ext.tasks – asyncio.Task helpers - Discord.py
A background task helper that abstracts the loop and reconnection logic for you. The main interface to create this is through loop() ....
Read more >
Windows Task Scheduler: Trigger an Event When Internet ...
This can be handy if you want to only run the task if you are on your work connection, or if you don't...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found