# Setup
  $ . ${TESTDIR}/../../../helpers/setup_integration_test.sh persistent_dependencies/4-cross-workspace

# Workspace Graph
# - app-a depends on pkg-a
# Task Graph:
# app-a#dev
# └── pkg-a#dev
  $ ${TURBO} run dev
    x Invalid task configuration
    `->   x "pkg-a#dev" is a persistent task, "app-a#dev" cannot depend on it
           ,-[turbo.json:5:21]
         4 |     "app-a#dev": {
         5 |       "dependsOn": ["pkg-a#dev"],
           :                     ^^^^^|^^^^^
           :                          `-- persistent task
         6 |       "persistent": true
           `----
  
  [1]
