@nx/web 19.4.0 → 19.5.0-beta.0

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/web",
3
- "version": "19.4.0",
3
+ "version": "19.5.0-beta.0",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Web Components contains generators for managing Web Component applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Playwright, Cypress, and Storybook.\n\n- Scaffolding for creating buildable libraries that can be published to npm.\n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -35,9 +35,9 @@
35
35
  "detect-port": "^1.5.1",
36
36
  "http-server": "^14.1.0",
37
37
  "tslib": "^2.3.0",
38
- "@nx/devkit": "19.4.0",
39
- "@nx/js": "19.4.0",
40
- "@nrwl/web": "19.4.0"
38
+ "@nx/devkit": "19.5.0-beta.0",
39
+ "@nx/js": "19.5.0-beta.0",
40
+ "@nrwl/web": "19.5.0-beta.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
@@ -145,8 +145,12 @@ async function* fileServerExecutor(options, context) {
145
145
  }
146
146
  }
147
147
  };
148
- if (options.watch) {
149
- const projectRoot = context.projectsConfigurations.projects[context.projectName].root;
148
+ if (!client_1.daemonClient.enabled() && options.watch) {
149
+ devkit_1.output.warn({
150
+ title: 'Nx Daemon is not enabled. Static server is not watching for changes.',
151
+ });
152
+ }
153
+ if (client_1.daemonClient.enabled() && options.watch) {
150
154
  disposeWatch = await createFileWatcher(context.projectName, run);
151
155
  }
152
156
  // perform initial run