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

NPM Scripts not working with new persistent terminal #118295

Closed
Joebayld opened this issue Mar 6, 2021 · 2 comments
Closed

NPM Scripts not working with new persistent terminal #118295

Joebayld opened this issue Mar 6, 2021 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@Joebayld
Copy link

Joebayld commented Mar 6, 2021

  • VS Code Version: 1.54.1
  • OS Version: macOS 11.2.1

Steps to Reproduce:

  1. Open a very basic NPM project that has a script. For example: a script that starts a web server.
  2. Run the script
  3. Reload the window and you will see the process is terminated.

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

I think this is an issue because the NPM Scripts are running as a Task, and tasks are terminated when reloading the window. If I open a terminal and manually type in npm run serve, it is persisted. But if I run it from the NPM Scripts view, it terminates on reload.

Clicking the start button in this view is the issue. This might be an issue with all Tasks and not just terminal.
image

@Tyriar
Copy link
Member

Tyriar commented Oct 6, 2021

/duplicate #117408

@Tyriar Tyriar closed this as completed Oct 6, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Nov 20, 2021
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

3 participants
@Tyriar @Joebayld and others