Skip to content

Commit 9efcf7f

Browse files
committed
FAQ.md: Document wds problem with create-react-app and pathProxy.ts
1 parent ba4a248 commit 9efcf7f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/FAQ.md

+6
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,12 @@ create-react-app of the path at which you are serving via `homepage` field in yo
239239
Then visit `https://my-code-server-address.io/proxy/3000` to see your app exposed through
240240
code-server!
241241

242+
Unfortunately `webpack-dev-server`'s websocket connections will not go through as it
243+
always uses `/sockjs-node`. So hot reloading will not work until the `create-react-app`
244+
team fix this bug.
245+
246+
Highly recommend using the subdomain approach instead to avoid this class of issue.
247+
242248
## Multi-tenancy
243249

244250
If you want to run multiple code-servers on shared infrastructure, we recommend using virtual

0 commit comments

Comments
 (0)