Skip to content

Commit e6aea00

Browse files
committed
fix: show more descriptive message when tns preview -hmr command is executed and the project has webpack plugin with version lower than 0.17.0
1 parent 0d23a29 commit e6aea00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,5 +230,5 @@ export class IosProjectConstants {
230230

231231
export class BundleValidatorMessages {
232232
public static MissingBundlePlugin = "Passing --bundle requires a bundling plugin. No bundling plugin found or the specified bundling plugin is invalid.";
233-
public static NotSupportedVersion = `The NativeScript CLI requires nativescript-dev-webpack %s or later to work properly.`;
233+
public static NotSupportedVersion = `The NativeScript CLI requires nativescript-dev-webpack %s or later to work properly. After updating nativescript-dev-webpack you need to ensure "webpack.config.js" file is up to date with the one in the new version of nativescript-dev-webpack. You can automatically update it using "./node_modules/.bin/update-ns-webpack --configs" command.`;
234234
}

0 commit comments

Comments
 (0)