cli
cli copied to clipboard
Time out during "Waiting for framework port" when index results in 404
Describe the bug
My Gatsby page doesn't have a page at index, which seems for the CLI to not notice when the framework port becomes available using the dev command. As soon as I add an index.js, the CLI works as intended.
Steps to reproduce
- Create a new Gatsby site
- Remove the index.js file
- Start the Netlify dev server using
netlify dev - See that "Waiting for framework port 8000" message is being shown even when the Gatsby development server is already available at "localhost:8000"
- Add an index.js file and see that the CLI works as intended
Configuration
No response
Environment
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
Memory: 4.19 GB / 31.94 GB
Binaries:
Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
npm: 8.16.0 - C:\Program Files\nodejs\npm.CMD