Ability to add a glob for `Watch Paths` setting
I like the ability to not trigger builds unless relevant code changes. However, there are situations where a build needs to happen when the
lock
file at the root of a monorepo changes, as dependency updates do need to be redeployed.
I couldn't find in the docs much on this, but would something like this work?
packages/web/**,yarn.lock
3 Replies
Yes globs work 🙂 It is the same syntax as in the gitignore file https://docs.railway.app/deploy/deployments#watch-paths
Thanks, I'll try it out. BTW, the link you shared has nothing related to watch paths. Is it supposed to have a section discussing it?
Whoops my bad. I actually just moved the pages in the docs around and that link points to the new one
https://docs.railway.app/deploy/builds#watch-paths