From acdb3b4bb5aeea90058a19af76a350b58b33b019 Mon Sep 17 00:00:00 2001 From: Nate Lampton Date: Mon, 28 Oct 2024 06:22:28 -0700 Subject: [PATCH] Issue #715: Specify run: once in default scaffold Taskfile.yml (#716) --- scaffold/Taskfile.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scaffold/Taskfile.yml b/scaffold/Taskfile.yml index 2db82eda..09faaa07 100644 --- a/scaffold/Taskfile.yml +++ b/scaffold/Taskfile.yml @@ -14,6 +14,11 @@ includes: output: prefixed silent: true +# Only allow tasks to be run once per task invocation. This ensures that +# multiple dependencies on the same task are only run once. +# @see https://github.com/go-task/task/issues/812 +run: once + #vars: # DRAINPIPE_SASS: | # web/themes/custom/mytheme/style.scss:web/themes/custom/mytheme/style.css