Skip to content

Commit

Permalink
style: 💄 fixed linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mjancarik committed Aug 26, 2024
1 parent f2b872d commit 98d8417
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/cli/src/plugins/devPlugin.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,14 @@ export function devPlugin({ definition, merkurConfig, cliConfig }) {
});

client.on('open', function open() {
if (merkurConfig.HMR && !(cliConfig.writeToDisk && changed.length === 0 && errors.length === 0)) {
if (
merkurConfig.HMR &&
!(
cliConfig.writeToDisk &&
changed.length === 0 &&
errors.length === 0
)
) {
client.send(
JSON.stringify({
to: 'browser',
Expand Down

0 comments on commit 98d8417

Please sign in to comment.