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

feat(turborepo): Watch mode #7613

Merged
merged 25 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
71417e4
Starting on watch mode
NicholasLYang Mar 4, 2024
bdd6da3
Trying to get signal handling to work in watch mode
NicholasLYang Mar 4, 2024
29c805d
Debugging watch mode bugs
NicholasLYang Mar 4, 2024
8527965
Filtering out root tasks when not needed.
NicholasLYang Mar 7, 2024
8600fcd
Fixing watch signal handling
NicholasLYang Mar 11, 2024
825ee68
Removing some unncessary code
NicholasLYang Mar 11, 2024
cd6ddeb
Passing args along
NicholasLYang Mar 11, 2024
fbe853b
Remove unnecessary run struct
NicholasLYang Mar 12, 2024
fcdd7ce
Removing cache, adding filter validation logic
NicholasLYang Mar 12, 2024
c1ee347
Added filter support for watch mode. Reworked run to not move when ex…
NicholasLYang Mar 12, 2024
dc1b953
Clean up
NicholasLYang Mar 12, 2024
0f870b3
Refactored out run_args so watch can be subcommand
NicholasLYang Mar 13, 2024
99bfa7c
Cleaning up, fixing tests
NicholasLYang Mar 13, 2024
33a4ff9
Working around clap bug
NicholasLYang Mar 13, 2024
59527fc
PR feedback
NicholasLYang Mar 15, 2024
7ee61fb
Fixing up watch mode
NicholasLYang Apr 2, 2024
b91d117
Fix bug in cli parsing
NicholasLYang Apr 12, 2024
f502ead
Fix compile error
NicholasLYang Apr 18, 2024
a2b5aaf
Fix windows
NicholasLYang Apr 18, 2024
cb91eb7
Fix clippy
NicholasLYang Apr 18, 2024
c9c3478
Fix tests
NicholasLYang Apr 18, 2024
df7a6be
feat: Re-run dependent tasks in watch mode (#7898)
NicholasLYang Apr 18, 2024
b533051
Remove unnecessary code
NicholasLYang Apr 19, 2024
4711a79
Handle error
NicholasLYang Apr 19, 2024
44849a3
Clippy fix
NicholasLYang Apr 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crates/turborepo-lib/src/cli/error.rs
Original file line number Diff line number Diff line change
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),
}
Loading
Loading