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:
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/web project
Project ID: 9695f536-38e5-40aa-b2fa-cfd37924e77dSolution:Jump to solution
do you have the new builder enabled? watch paths are ignored with that enabled last i checked
7 Replies
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
I do, yeah. That may be it. Will give it a go
Works! Thank you π No clue why I had that enabled in the first place
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
yeah, i probably just enabled anything fancy labeled V2, New, Updated π
Thanks a bunch!
no problem!