Does railway selectively deploy from monorepos?

Sscatter9/16/2022
If your project uses the /backend subdirectory and you push a commit that doesn't modify files there, will a deploy be triggered? Is there a way to configure this yourself so it works with something like nx (ie when you can't set the subdirectory but still want to deploy based on which directories were changed)?
Ffarazpatankar9/16/2022
Hey, just trying to understand your issue. Are you using NX at the moment?
Ffarazpatankar9/16/2022
And if I understand correctly, you'd like for your service to be deployed even when you don't necessarily make changes directly to the backend subdir?
Sscatter9/16/2022
yes, I think Settings > Watch Paths is what I'm looking for
Ffarazpatankar9/16/2022
Perhaps watch paths in combination with the root directory might work for you.
Ffarazpatankar9/16/2022
We also have a user-contributed guide specifically for NX projects coming out today. It uses Railway + GH actions to manage when and when not to deploy.
Ffarazpatankar9/16/2022
So keep an eye out for that as well. 😄