Slow start script
See original GitHub issueNode: v5.4.1 OS: OS X 10.11.5 / Darwin Stevens-MBP 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
I’ve narrowed it down to the detect-port
library used. I tested out the library’s CLI and got similar results.
Added a timer to the start script:
console.time('detect')
detect(DEFAULT_PORT).then(port => {
console.timeEnd('detect')
...
})
Result of running npm run start
/Users/steven/my_projects/autocomplete steven@Stevens-MBP% npm run start
> autocomplete@0.0.1 start /Users/steven/my_projects/autocomplete
> react-scripts start
detect: 75279.878ms
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Slow logon (Running startup scripts...) - TechNet - Microsoft
Hi,. One of our client is having problems with one workstation where computer startup is were slow. Logon will take about 30-40 minutes...
Read more >PowerShell steps to fix slow startup
When PowerShell starts to become slow at startup, an update of the .NET framework might be the cause. To speed up again, use...
Read more >FAQ: Why Does The start.sh | status.sh Script Run Slow?
You observe the when running [DOMAIN_HOME]/bitools/bin/status.sh, it takes a long amount of time run. You may also observe that the managed ...
Read more >Startup script too slow : r/PowerShell
Hello Guys, I have to run a script on all my computers. Mainly, a w10 trash app removal. I will be pushing this...
Read more >Solved: Very slow in start of each script execution
Solved: Hi, I am Using TestComplete version 15. When I start executing each test case, it takes more than 5 min to start...
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
@philstrong Does the fix in https://github.com/facebookincubator/create-react-app/issues/302#issuecomment-236403638 work for you?
Working for me 👍