@nx/js 19.6.3 → 19.6.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/js",
3
- "version": "19.6.3",
3
+ "version": "19.6.4",
4
4
  "private": false,
5
5
  "description": "The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects. ",
6
6
  "repository": {
@@ -39,8 +39,8 @@
39
39
  "@babel/preset-env": "^7.23.2",
40
40
  "@babel/preset-typescript": "^7.22.5",
41
41
  "@babel/runtime": "^7.22.6",
42
- "@nx/devkit": "19.6.3",
43
- "@nx/workspace": "19.6.3",
42
+ "@nx/devkit": "19.6.4",
43
+ "@nx/workspace": "19.6.4",
44
44
  "babel-plugin-const-enum": "^1.0.1",
45
45
  "babel-plugin-macros": "^2.8.0",
46
46
  "babel-plugin-transform-typescript-metadata": "^0.3.1",
@@ -61,7 +61,7 @@
61
61
  "ts-node": "10.9.1",
62
62
  "tsconfig-paths": "^4.1.2",
63
63
  "tslib": "^2.3.0",
64
- "@nrwl/js": "19.6.3"
64
+ "@nrwl/js": "19.6.4"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "verdaccio": "^5.0.4"
@@ -204,8 +204,10 @@ async function* nodeExecutor(options, context) {
204
204
  devkit_1.logger.error(`Watch error: ${err?.message ?? 'Unknown'}`);
205
205
  }
206
206
  else {
207
- devkit_1.logger.info(`NX File change detected. Restarting...`);
208
- await runBuild();
207
+ if (options.watch) {
208
+ devkit_1.logger.info(`NX File change detected. Restarting...`);
209
+ await runBuild();
210
+ }
209
211
  }
210
212
  });
211
213
  }