Jan Henning
Jan Henning
Explore posts from servers
RRailway
Created by Jan Henning on 8/13/2024 in #✋|help
Watch paths are ignored
Hey there. I am deploying two apps from a monorepo and don't want to rebuild both when only one is updated. I've had this issue for a while and played around with every type of syntax for the watch paths and none seem to work, unfortunately. My project setup:
/apps
- /web
- /api
/packages
- /db
/apps
- /web
- /api
/packages
- /db
I want to build both if any file in any packages folder was changes, but only deploy the single app if any file in either one was changed. Here's my current watch paths setup, which again, doesn't work. Both apps are still built, even if /apps/api only had changes. I've tried so many variations so now I'm here asking if I'm doing something wrong, or if there's a bug here. /apps/api project
/apps/api/**
/packages/**
!/apps/web/**
/apps/api/**
/packages/**
!/apps/web/**
/apps/web project
/apps/web/**
/packages/**
!/apps/api/**
/apps/web/**
/packages/**
!/apps/api/**
Project ID: 9695f536-38e5-40aa-b2fa-cfd37924e77d
11 replies
RRailway
Created by Jan Henning on 7/10/2024 in #✋|help
Deployment failed - Container died
No description
26 replies
TtRPC
Created by Jan Henning on 10/28/2023 in #❓-help
`refetchOnWindowFocus` with RSC?
Hi. Is there any way to have refetchOnWindowFocus work with server components? Seems like it only available for client side. Perhaps I can use revalidatePath() to handle this? Not 100% sure what the best/optimal solution is.
"next": "^13.5.6",
"@trpc/client": "^10.41.0",
"@trpc/next": "^10.41.0",
"@trpc/react-query": "^10.41.0",
"@trpc/server": "^10.41.0"
"next": "^13.5.6",
"@trpc/client": "^10.41.0",
"@trpc/next": "^10.41.0",
"@trpc/react-query": "^10.41.0",
"@trpc/server": "^10.41.0"
4 replies