Skip to content
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

Merged
merged 1 commit into from
Jul 8, 2021

Conversation

AgentEnder
Copy link
Member

@AgentEnder AgentEnder commented Jun 1, 2021

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

@vercel
Copy link

vercel bot commented Jun 1, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nrwl/nx-dev/Gbt1xSi4MrW1XWN2zzDo3aK4GSAL
✅ Preview: https://nx-dev-git-fork-agentender-fix-node-watch-mode-assets-nrwl.vercel.app

[Deployment for ee5138e canceled]

@AgentEnder AgentEnder marked this pull request as draft June 1, 2021 21:01
@AgentEnder AgentEnder force-pushed the fix/node-watch-mode-assets branch from b83f6e1 to c95f246 Compare June 1, 2021 21:31
@AgentEnder AgentEnder force-pushed the fix/node-watch-mode-assets branch from c95f246 to a285840 Compare June 1, 2021 21:52
@AgentEnder AgentEnder force-pushed the fix/node-watch-mode-assets branch from a285840 to 0cc5915 Compare June 1, 2021 22:29
@AgentEnder AgentEnder force-pushed the fix/node-watch-mode-assets branch from 0cc5915 to 067c989 Compare June 2, 2021 15:56
@AgentEnder AgentEnder marked this pull request as ready for review June 2, 2021 16:59
@AgentEnder AgentEnder requested a review from Cammisuli June 2, 2021 18:07
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants