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