get webpack-dev-server to connect https
Created by: ggilmore
Responding to https://sourcegraph.slack.com/archives/C0EPTDE9L/p1585075209070000?thread_ts=1585071027.067800&cid=C0EPTDE9L
I'm really not sure what I'm looking for where, but this PR what I tried.
Right now, I get this error message when I try run ./enterprise/dev/start.sh
[12:32:54] Error: listen EADDRINUSE: address already in use 0.0.0.0:3443
12:32:54 web | at Server.setupListenHandle [as _listen2] (net.js:1313:16)
12:32:54 web | at listenInCluster (net.js:1361:12)
12:32:54 web | at doListen (net.js:1498:7)
12:32:54 web | at processTicksAndRejections (internal/process/task_queues.js:85:21)
12:32:54 web | [12:32:54] 'watch' errored after 1.88 s
12:32:54 web | [12:32:54] The following tasks did not complete: watchSchema, watchGraphQLTypes
12:32:54 web | [12:32:54] Did you forget to signal async completion?
12:32:54 web | Terminating web
Another thing to keep in mind is that we may need to tell configure Node to recognize Caddy's custom SSL certificates: https://stackoverflow.com/questions/29283040/how-to-add-custom-certificate-authority-ca-to-nodejs