weboptimizer 2.0.1611 → 2.0.1612

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -138,10 +138,10 @@ var main = function main(context) {
138
138
  if (!(possibleArguments.includes(configuration.givenCommandLineArguments[2]) && !['build', 'build:types', 'lint', 'preinstall', 'test', 'test:browser', 'test:coverage', 'test:coverage:report'].includes(configuration.givenCommandLineArguments[2]) ||
139
139
  /*
140
140
  NOTE: If target artefacts are located next to their source
141
- files, we need to clear them first when performing a
142
- "serve" to avoid utilizing pre-build artefacts in dev mode.
141
+ files, we need to clear them first when running dev mode
142
+ (watching source files and reloading build automatically).
143
143
  */
144
- configuration.givenCommandLineArguments[2] === 'serve' && configuration.path.source.base === configuration.path.target.base)) {
144
+ ['service', 'watch'].includes(configuration.givenCommandLineArguments[2]) && configuration.path.source.base === configuration.path.target.base)) {
145
145
  _context3.next = 20;
146
146
  break;
147
147
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1611",
3
+ "version": "2.0.1612",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",