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.

`--wait` command-line option

See original GitHub issue

If you are working in the terminal, the suggested way of using VS Code itself as your editor for commit messages and such is to set

export EDITOR="code --wait"

This does not work within code-server obviously. You can set EDITOR to code-server but it does not have a --wait option, so git (or whatever) will not wait for you to close the window.

The --wait option, together with one or more files, should make the code-server binary only exit when these files are closed.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:15
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
bsiegertcommented, Oct 27, 2021

This is a legitimate feature request, please don’t close it.

1reaction
code-ashercommented, Jul 21, 2022

If we can get their script working we might not need to implement anything. I think all we have to do is update the Node path.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Add Sleep/Wait in Windows Batch Script - TecAdmin
You can use timeout command to wait for command prompt or batch script for the specified amount of time. The time is defined...
Read more >
5 Easy Commands to Delay a Batch File in Windows - wikiHow
1. Use the timeout command to specify the delay time in seconds. By inserting the timeout command into your batch file, you can...
Read more >
How to sleep for five seconds in a batch file/cmd [duplicate]
in a DOS script ( .cmd or .bat ) to wait for 2s (2000 ms - substitute the time in ms you need)....
Read more >
How to sleep or wait in Windows batch file ? - OurTechRoom
The Sleep/Wait Command is a very useful command that is used to pause for a set amount of time while a batch script...
Read more >
Timeout - delay in seconds - Windows CMD - SS64.com
Syntax TIMEOUT delay [/nobreak] Key delay Delay in seconds (between -1 and 100000) to wait before continuing. The value -1 causes the computer...
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