# Watch paths for automatic deployments

Choose which files in the repository trigger a deploy, independently of the build root.

Canonical URL: https://unbroker.cloud/changelog/2026-10-21-watch-paths
Published: 2026-10-21
Tags: Apps

## Related reading

- [Cloud Apps](https://unbroker.cloud/deploy)
- [Deploy from Git](https://docs.unbroker.cloud/guides/deploy-from-git)

A push to a monorepo no longer has to redeploy every service. Set **Watch paths** when you create a service or in its Source settings, and only pushes that change a matching file trigger an automatic deploy.

```text
apps/api/**
packages/shared/**
```

Patterns are relative to the repository root and support `*`, `**` and `?`, including hidden files. They replace the root-directory filter, so a service built from `apps/api` can also redeploy when a shared package changes. Leave the list empty to keep the current behavior.

When GitHub sends an incomplete or forced push, the service deploys to be safe. Manual deploys, deploy hooks and PR previews ignore watch paths. Environment copies and project manifests keep them.

See [Watch paths](https://docs.unbroker.cloud/deployments/git#watch-paths) in the Git deployment docs.
