How to uncover TS build errors without building whole repo #7742
jvskriubakken
started this conversation in
Show and Tell
Replies: 2 comments 1 reply
-
Hi, You shouldn't be building everything in CI. The affected commands will build only what's impacted by a particular change. nx affected --target build --prod Docs guide: https://nx.dev/l/a/core-extended/affected |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've changed the CI files to now run only affected. However it seems to complain about the given "master branch name" "main", not existing.
We are using Azure as build system. Could it be this error occurs because the repo has been checked out in "detached head" state? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
to ensure I'm not committing any TS build errors I run the same command as the CI locally:
Running this command takes quite a while... I am using IntelliJ and would expect IntelliJ to uncover these TS build errors as I type, but it does not.
How are you guys ensuring a faster development, without waiting for Nx to build all TS code in repo?
Thanks!
Jørund
Beta Was this translation helpful? Give feedback.
All reactions