From 9efcf7f3ce62c90fa7ed52d1a9c5e000c10091cb 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 19a4ff37..5d14a312 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -239,6 +239,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