Update:
I’ve identified the issue: CRA is configured to use HTTPS/SSL, but I can’t seem to get netlify dev config’d to do the same, despite following the instructions here:
Update2:
Disabling CRA HTTPS
#.env
HTTPS=false
and configuring netlify.toml as per the documentation:
[dev]
[dev.https]
certFile = "ca.pem"
keyFile = "ca.key"
Now correctly starts up an https server on localhost:8888 when running netlify dev
TL;DR:
Ensure your app is running via HTTP, configure netlify to serve HTTPS, otherwise netlify dev will silently fail.
Notes for netlify:
Would be nice to have some sort of error handling for this if SSL is not in the expected state.