"sleep" does not work on Windows
See original GitHub issueHello
"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:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yay, it is working now! Thanks a lot for the quick reaction, can I buy you a coffee? 😊
I replaced
sleep
with delay-cli, @panalgin.v2.1.2 has the update.
Can you check if it works on Windows as well?