By default, Turborepo will stop its execution if it runs into an error. We may not want that if we want Turborepo to continue in the projects that don't have an error. We can do this by adding the --continue
flag to the end of our command.
Instructor: [0:00] By default, Turborepo will stop its execution if it finds an error. For instance, if we change this toBe(5) and we run npx turbo run test, it will exit early. [0:16] Sometimes, you don't want this. You want to continue even though something fails. You can have the --continue flag. It will continue even though something broke. For instance, in this case, libs/util exit, but it continued with the execution.
[0:33] To recap, you can make Turborepo not exit early when it finds an error if you add the --continue flag.
Member comments are a way for members to communicate, interact, and ask questions about a lesson.
The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io
Be on-Topic
Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.
Avoid meta-discussion
Code Problems?
Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context
Details and Context
Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!