We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aabcf8 commit d8baf8eCopy full SHA for d8baf8e
packages/cli/src/plugins/devPlugin.mjs
@@ -72,7 +72,7 @@ export function devPlugin({ definition, merkurConfig, cliConfig }) {
72
});
73
74
client.on('open', function open() {
75
- if (merkurConfig.HMR) {
+ if (merkurConfig.HMR && !(cliConfig.writeToDisk && changed.length === 0 && errors.length === 0)) {
76
client.send(
77
JSON.stringify({
78
to: 'browser',
0 commit comments