Skip to content

Commit 237b4b9

Browse files
chore: delete redundant glob watcher code (#10075)
### Description Turns out this is a redundant implementation of glob watching that we left in the codebase (probably due to a bad merge). Since it's blocking #10024, let's delete it. ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
1 parent 8691c65 commit 237b4b9

File tree

3 files changed

+1
-736
lines changed

3 files changed

+1
-736
lines changed

crates/turborepo-lib/src/daemon/client.rs

+1-7
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ use super::{
1313
proto::{DiscoverPackagesResponse, GetFileHashesResponse},
1414
Paths,
1515
};
16-
use crate::{
17-
daemon::{proto, proto::PackageChangeEvent},
18-
globwatcher::HashGlobSetupError,
19-
};
16+
use crate::daemon::{proto, proto::PackageChangeEvent};
2017

2118
#[derive(Debug, Clone)]
2219
pub struct DaemonClient<T> {
@@ -228,9 +225,6 @@ pub enum DaemonError {
228225
#[error("invalid timeout specified ({0})")]
229226
#[allow(dead_code)]
230227
InvalidTimeout(String),
231-
/// The server is unable to start file watching.
232-
#[error("unable to start file watching")]
233-
SetupFileWatching(#[from] HashGlobSetupError),
234228

235229
#[error("unable to display output: {0}")]
236230
DisplayError(#[from] serde_json::Error),

0 commit comments

Comments
 (0)