microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.38k stars 28.62k forks source link

Allow to run 'code -w' when Code is running already #24765

Closed azixMcAze closed 7 years ago

azixMcAze commented 7 years ago

Steps to Reproduce:

  1. Launch VS Code from the Dock or the Finder (NOT from the command line)
  2. In a terminal, run code -w <file>
  3. => file opens
  4. Exit VS code using Cmd+Q
  5. => code -w <file> does not returns

Expected result: code -w <file> should have returned.

It is worth noting that after VS Code is exited and even if code -w <file> is interrupted with Ctrl+C, VS Code can no longer be launched from the Finder or the Dock. Clicking on the app icon will do nothing. VS Code can however still be launched from the command line. There is still a Code process present but it is not visible in 'Force Quit Applications' list

bpasero commented 7 years ago

https://github.com/Microsoft/vscode/issues/4142