From 4ff544398df288448ad6e88190a1eeae2f78f84f Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Mon, 11 Jan 2021 14:36:34 -0500 Subject: [PATCH] FAQ.md: Document wds problem with create-react-app and pathProxy.ts --- doc/FAQ.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/FAQ.md b/doc/FAQ.md index c93be90f..abc3a0b6 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -232,6 +232,12 @@ create-react-app of the path at which you are serving via `homepage` field in yo Then visit `https://my-code-server-address.io/proxy/3000` to see your app exposed through code-server! +Unfortunately `webpack-dev-server`'s websocket connections will not go through as it +always uses `/sockjs-node`. So hot reloading will not work until the `create-react-app` +team fix this bug. + +Highly recommend using the subdomain approach instead to avoid this class of issue. + ## Multi-tenancy If you want to run multiple code-servers on shared infrastructure, we recommend using virtual -- GitLab