Skip to content

Commit

Permalink
feat(turborepo): Watch mode (#7613)
Browse files Browse the repository at this point in the history
### Description

Implements an MVP version of watch mode that takes the package changes
stream and re-runs package tasks as needed.

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->


Closes TURBO-2519
  • Loading branch information
NicholasLYang committed Apr 19, 2024
1 parent bc7b17a commit c622d67
Show file tree
Hide file tree
Showing 20 changed files with 1,312 additions and 644 deletions.
4 changes: 4 additions & 0 deletions crates/turborepo-lib/src/cli/error.rs
Expand Up @@ -9,6 +9,7 @@ use crate::{
daemon::DaemonError,
rewrite_json::RewriteError,
run,
run::watch,
};

#[derive(Debug, Error, Diagnostic)]
Expand Down Expand Up @@ -48,4 +49,7 @@ pub enum Error {
Run(#[from] run::Error),
#[error(transparent)]
SerdeJson(#[from] serde_json::Error),
#[error(transparent)]
#[diagnostic(transparent)]
Watch(#[from] watch::Error),
}

0 comments on commit c622d67

Please sign in to comment.