diff --git a/config/watcher.ts b/config/watcher.ts index 0831d698f..a6b643e2c 100644 --- a/config/watcher.ts +++ b/config/watcher.ts @@ -10,7 +10,7 @@ const config: Config = { watchers: { compileGraphQLTypes: { paths: ["core/server/graph/**/*.graphql"], - executor: new CommandExecutor("npm run compile:server:types", { + executor: new CommandExecutor("npm run compile:graphql", { runOnInit: true, }), },