diff --git a/commands.json b/commands.json index ac21a21..a8f9ed8 100644 --- a/commands.json +++ b/commands.json @@ -57,7 +57,7 @@ }, "serve": { "description": "Start the GraphQL API server", - "cmd": ["squid-graphql-server"] + "cmd": ["squid-graphql-server", "--subscriptions"] }, "serve:prod": { "description": "Start the GraphQL API server with caching and limits", @@ -65,7 +65,9 @@ "--dumb-cache", "in-memory", "--dumb-cache-ttl", "1000", "--dumb-cache-size", "100", - "--dumb-cache-max-age", "1000" ] + "--dumb-cache-max-age", "1000", + "--subscriptions" + ] }, "check-updates": { "cmd": ["npx", "--yes", "npm-check-updates", "--filter=/subsquid/", "--upgrade"],