R
Railwayβ€’4mo ago
Jan Henning

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
Solution:
do you have the new builder enabled? watch paths are ignored with that enabled last i checked
Jump to solution
7 Replies
Percy
Percyβ€’4mo ago
Project ID: 9695f536-38e5-40aa-b2fa-cfd37924e77d
Solution
Brody
Brodyβ€’4mo ago
do you have the new builder enabled? watch paths are ignored with that enabled last i checked
Jan Henning
Jan HenningOPβ€’4mo ago
I do, yeah. That may be it. Will give it a go
Jan Henning
Jan HenningOPβ€’4mo ago
Works! Thank you πŸ™‚ No clue why I had that enabled in the first place
No description
Brody
Brodyβ€’4mo ago
maybe you needed to use the private network during build or just wanted to try out a fancy new feature haha either way, we already had a ticket open for this and i have added this thread to that ticket so i will update you when its fixed
Jan Henning
Jan HenningOPβ€’4mo ago
yeah, i probably just enabled anything fancy labeled V2, New, Updated πŸ˜‚ Thanks a bunch!
Brody
Brodyβ€’4mo ago
no problem!
Want results from more Discord servers?
Add your server