This PR includes updates to the `nxCopyAssetsPlugin` function in the `packages/vite/plugins/nx-copy-assets.plugin.ts` file to improve asset handling and daemon integration. The most important changes include adding a check for `NX_GRAPH_CREATION`. Additionally, it also contains a check to ensure that before attempting to watch for file changes the daemon should be available.
{{links}}
Nx: Smart Monorepos · Fast CI
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
This package is a Vite plugin for Nx.
{{content}}