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.
tns run android --hmr
1 parent 6592819 commit 8c11335Copy full SHA for 8c11335
lib/helpers/livesync-command-helper.ts
@@ -1,4 +1,5 @@
1
export class LiveSyncCommandHelper implements ILiveSyncCommandHelper {
2
+ private static MIN_SUPPORTED_WEBPACK_VERSION_WITH_HMR = "0.17.0";
3
4
constructor(private $platformService: IPlatformService,
5
private $projectData: IProjectData,
@@ -133,7 +134,8 @@ export class LiveSyncCommandHelper implements ILiveSyncCommandHelper {
133
134
result[availablePlatform.toLowerCase()] = validateOutput;
135
}
136
- this.$bundleValidatorHelper.validate();
137
+ const minSupportedWebpackVersion = this.$options.hmr ? LiveSyncCommandHelper.MIN_SUPPORTED_WEBPACK_VERSION_WITH_HMR : null;
138
+ this.$bundleValidatorHelper.validate(minSupportedWebpackVersion);
139
140
return result;
141
0 commit comments