From 6df8693924ea5f23c3c17b6921490d6b86ab9c8b Mon Sep 17 00:00:00 2001 From: Mehul Kar Date: Fri, 5 May 2023 11:10:02 -0700 Subject: [PATCH] Fix basic example to update on dependency changes By default, if you change one of the packages in the basic example, the caches for the apps don't invalidate. This is a common issue people run into so we want a good default in place. --- examples/basic/turbo.json | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/basic/turbo.json b/examples/basic/turbo.json index d44dedb04af78..ec4d016d4b138 100644 --- a/examples/basic/turbo.json +++ b/examples/basic/turbo.json @@ -3,6 +3,7 @@ "globalDependencies": ["**/.env.*local"], "pipeline": { "build": { + "dependsOn": ["^build"], "outputs": [".next/**", "!.next/cache/**"] }, "lint": {},