We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ab337 commit dbd7a05Copy full SHA for dbd7a05
lib/commands/debug.ts
@@ -120,6 +120,10 @@ export class DebugPlatformCommand extends ValidatePlatformCommandBase implements
120
this.$errors.fail("--release flag is not applicable to this command");
121
}
122
123
+ if (this.$options.hmr && this.$options.debugBrk) {
124
+ this.$errors.fail("Expected exactly one of the --debug-brk and --hmr options");
125
+ }
126
+
127
const minSupportedWebpackVersion = this.$options.hmr ? LiveSyncCommandHelper.MIN_SUPPORTED_WEBPACK_VERSION_WITH_HMR : null;
128
this.$bundleValidatorHelper.validate(minSupportedWebpackVersion);
129
0 commit comments