Skip to content

Is it possible to enable HMR when app is served through an external server (i.e. php, go, etc)? #4366

Answered by 9aoy
Ldoppea asked this question in Q&A
Discussion options

You must be logged in to vote

Due to this configuration, it seems not to be possible to use the rsbuild dev --open command, as it does not output anything in the /dist folder.

You can set the dev.writeToDisk option to true to enable writing the build output to disk.

https://rsbuild.dev/config/dev/write-to-disk#writing-to-disk

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ldoppea
Comment options

Answer selected by Ldoppea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants