-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(node): assets should be copied when building with --watch #5863
fix(node): assets should be copied when building with --watch #5863
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/nrwl/nx-dev/Gbt1xSi4MrW1XWN2zzDo3aK4GSAL [Deployment for ee5138e canceled] |
Nx Cloud ReportCI ran the following commands for commit ee5138e. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch Sent with 💌 from NxCloud. |
b83f6e1
to
c95f246
Compare
c95f246
to
a285840
Compare
a285840
to
0cc5915
Compare
0cc5915
to
067c989
Compare
067c989
to
cf0fdd3
Compare
cf0fdd3
to
4742736
Compare
4742736
to
ee5138e
Compare
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
Assets are not copied to dist when running
nx build my-node-lib --watch
.Expected Behavior
Assets, including package.json, should be present in dist.
Caveats
This change does not add the assets to the watcher, since it is using the typescript compiler's watch program. As such, if assets change it does not retrigger the compiler.
Related Issue(s)
Fixes #5724