Skip to content

Conversation

@trulede
Copy link
Contributor

@trulede trulede commented Dec 11, 2025

A task will not run (once or when_changed) if its hash is "known". Therefore, a watch task where run is configured, will never start.

In this PR, the check of task hash is extended to consider if watch is configured/requested.

fixes #1388

@trulede trulede force-pushed the PR/always-run-watch-task branch from dee817a to 0359161 Compare December 11, 2025 22:33
@vmaerten vmaerten self-requested a review December 12, 2025 18:23
@vmaerten vmaerten changed the title Always run a watch task regardless of run setting. Dec 12, 2025
Copy link
Member

@vmaerten vmaerten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@vmaerten vmaerten merged commit 89b6140 into go-task:main Dec 12, 2025
13 checks passed
vmaerten added a commit that referenced this pull request Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants