erquhartE
Convex Community2y ago
13 replies
erquhart

Local logging on by default sometimes

Does npx convex dev use any sort of inference to turn on logging by chance? It seems to print logs without the --tail-logs flag depending on how it's run.

Here are three npm scripts I use:

"start": "concurrently --raw \"npm:expo-start\" \"npm:convex-dev\"",
"expo-start": "doppler run -p expo -c dev --mount .env -- expo start -p 8088",
"convex-dev": "doppler run -p convex -c dev -- npx convex dev",


The first script just runs the other two concurrently.

- If I do npm start, I get logs, even though there's no --tail-logs flag
- If I do npm run convex-dev, I get no logs, as expected

I'd like to run npm start with no convex logs and then log for the backend in a separate cli, but I can't get npm start to not log for convex.
Was this page helpful?