Skip to content

Commit 8f706cf

Browse files
committed
node/gnd: Deploy all subgraphs first before wathcing files
1 parent 5869981 commit 8f706cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

node/src/dev/watcher.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ async fn process_file_events(
238238
}
239239

240240
// Redeploy all subgraphs
241-
redeploy_all_subgraphs(logger, manifests_paths, source_subgraph_aliases, &sender).await?;
241+
deploy_all_subgraphs(logger, manifests_paths, source_subgraph_aliases, &sender).await?;
242242
}
243243
}
244244

@@ -255,7 +255,7 @@ fn is_relevant_event(event: &Event, watched_dirs: Vec<PathBuf>, exclusion_set: &
255255
}
256256

257257
/// Redeploys all subgraphs in the order it appears in the manifests_paths
258-
async fn redeploy_all_subgraphs(
258+
async fn deploy_all_subgraphs(
259259
logger: &Logger,
260260
manifests_paths: &Vec<PathBuf>,
261261
source_subgraph_aliases: &HashMap<String, PathBuf>,

0 commit comments

Comments
 (0)