@webpack-cli/serve
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -36,5 +36,3 @@ "use strict"; | ||
} | ||
const builtInOptions = cli.getBuiltInOptions().filter( | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(option) => option.name !== "watch"); | ||
const builtInOptions = cli.getBuiltInOptions(); | ||
return [...builtInOptions, ...devServerFlags]; | ||
@@ -83,2 +81,3 @@ }, | ||
webpackCLIOptions.argv = Object.assign(Object.assign({}, options), { env: Object.assign({ WEBPACK_SERVE: true }, options.env) }); | ||
webpackCLIOptions.isWatchingLikeCommand = true; | ||
const compiler = await cli.createCompiler(webpackCLIOptions); | ||
@@ -85,0 +84,0 @@ if (!compiler) { |
{ | ||
"name": "@webpack-cli/serve", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "", | ||
@@ -32,3 +32,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "5aeab7cb04cfbf42bf23dbb32e28a1e78c941887" | ||
"gitHead": "f9fd17975c9de1a3c129bf2e47c8fdf9bf8c1664" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11518
179