Categories
Android Update Internet Latest news Technology Reviews

turborepo: Prevent Turborepo Exiting Early on Failing Tasks

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.