diff --git a/docs/repo-docs/crafting-your-repository/running-tasks.mdx b/docs/repo-docs/crafting-your-repository/running-tasks.mdx index 72a35c56810be..db3ea793e7968 100644 --- a/docs/repo-docs/crafting-your-repository/running-tasks.mdx +++ b/docs/repo-docs/crafting-your-repository/running-tasks.mdx @@ -157,6 +157,13 @@ When you're working on a specific package, you might want to run tasks for the p turbo build --filter=...ui ``` +### Filtering to include dependencies +To limit the scope to a package and its dependencies, append `...` to the package name. This runs the task for the specified package and all packages it depends on. + +```bash title="Terminal" +turbo dev --filter=web... +``` + ### Filtering by source control changes Using filters to run tasks based on changes in source control is a great way to run only the tasks for packages that are affected by your changes. **Source control filters must be wrapped in `[]`**.