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.

"sleep" does not work on Windows

See original GitHub issue

Hello

"react-scripts:start": "sleep 5 && react-scripts start", does not work as “sleep” is not present on win.

I’m doing "react-scripts:start": "timeout /t 1 /nobreak > NUL && react-scripts start",

wanted to point it out, maybe it’s something you would like to fix

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
panalgincommented, Jun 8, 2021

Yay, it is working now! Thanks a lot for the quick reaction, can I buy you a coffee? 😊

1reaction
dance2diecommented, Jun 8, 2021

I replaced sleep with delay-cli, @panalgin.

v2.1.2 has the update.

Can you check if it works on Windows as well?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Windows 10/11 Sleep Mode Not Working [Solved]
How To Fix Windows PC Not Sleeping · Fix 1 – Find out who is stopping windows PC from sleep · Fix 2...
Read more >
Windows 10 is Not Going to Sleep – How to Fix Sleeping on PC
To make sure sleep mode is enabled, follow these steps: Step 1: Press WIN + I on your keyboard to launch Settings. Step...
Read more >
[SOLVED] Windows 10 Won't Sleep Issue - Driver Easy
Change power options is a common fix for the Windows 10 won't sleep issue. Here's how: Press the Windows logo key + I...
Read more >
FIX: Windows 10/11 Won't go to sleep mode. - wintips.org
The problem of a computer not going into sleep mode can be caused by several reasons, such as processes or applications running in...
Read more >
Troubleshoot problems waking computer from sleep mode
Method 2: Try alternative keys, mouse buttons, or the power button on your keyboard · Press the SLEEP keyboard shortcut. · Press a...
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