Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Included Taskfile watch: true not working #1763

Open
Firesphere opened this issue Aug 16, 2024 · 0 comments
Open

Included Taskfile watch: true not working #1763

Firesphere opened this issue Aug 16, 2024 · 0 comments
Labels
state: needs triage Waiting to be triaged by a maintainer.

Comments

@Firesphere
Copy link

Firesphere commented Aug 16, 2024

I have a root Taskfile, that includes a Taskfile from a folder named watch
For simplicity, my tasks:

Taskfile.yml

version: "3"
interval: 500ms
dotenv: ['.env.local', '.env.dev']
includes:
  watch:
    taskfile: ./watch
    aliases: [w]

watch/Taskfile.yml

version: "3"

tasks:
  build:*:
    watch: true
    sources:
      - '${PROJECTS}/*-bin/*.go'
    cmds:
      - echo "hello world"

This watcher works if I put it in the root of my Taskfile set. But the subfolder task does not watch, for reasons unclear to me, I couldn't find any documentation about it, and I would expect that the $(PROJECTS), which is a full absolute path in .env.local, should/would "just work" ™️?

  • Task version: 3.38.0
  • Operating system: MacOS Sonoma 14.6.1
  • Experiments enabled: No
@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: needs triage Waiting to be triaged by a maintainer.
Projects
None yet
Development

No branches or pull requests

2 participants