summaryrefslogtreecommitdiff
path: root/cli/graph_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/graph_util.rs')
-rw-r--r--cli/graph_util.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs
index 2f5fd40fd..f2713a9db 100644
--- a/cli/graph_util.rs
+++ b/cli/graph_util.rs
@@ -681,12 +681,12 @@ impl<'a> ModuleGraphUpdatePermit<'a> {
#[derive(Clone, Debug)]
pub struct FileWatcherReporter {
- watcher_communicator: WatcherCommunicator,
+ watcher_communicator: Arc<WatcherCommunicator>,
file_paths: Arc<Mutex<Vec<PathBuf>>>,
}
impl FileWatcherReporter {
- pub fn new(watcher_communicator: WatcherCommunicator) -> Self {
+ pub fn new(watcher_communicator: Arc<WatcherCommunicator>) -> Self {
Self {
watcher_communicator,
file_paths: Default::default(),