You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use a cached build, serve it and use it with Cypress, but the "serve-static" target/the @nx/web:file-server executor leads to an endless loop where NX builds the app again and again. If I use the underlying http-server package directly I can serve the build without problems.
Expected Behavior
The executor shoud just serve the app after building the app once.
GitHub Repo
No response
Steps to Reproduce
npx create-nx-workspace@latest
Choose angular, integrated monorepo, webpack as bundler, scss, no prerendering, cypress and gitlab
In your new workspace use "npx nx run [your project]:serve-static"
It will run into an endless loop and build the app over and over (while reading from cache)
Current Behavior
I'm trying to use a cached build, serve it and use it with Cypress, but the "serve-static" target/the @nx/web:file-server executor leads to an endless loop where NX builds the app again and again. If I use the underlying http-server package directly I can serve the build without problems.
Expected Behavior
The executor shoud just serve the app after building the app once.
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: