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

watch depedency has no effect on task selection #460

Open
sandeep-gh opened this issue Oct 12, 2023 · 0 comments
Open

watch depedency has no effect on task selection #460

sandeep-gh opened this issue Oct 12, 2023 · 0 comments

Comments

@sandeep-gh
Copy link

sandeep-gh commented Oct 12, 2023

I am using watch dependency as follows:

def task_build_tgz():
    return {
        'actions': [do_action],
        'targets': targets,
        'uptodate': [run_once],
         
        'watch': watch_dirs
    }

watch_dirs is list of directory names. However, when file is changed the task is not getting invoked.
I think this is bug if I understand the watch semantics correctly. I would like to debug this myself, would be very help if someone can guide which is the relevant file to look for working of this dependency parameter.

Environment

  1. OS: Fedora 37 (6.5.5-100.fc37.aarch64)
  2. python version: 3.11.5
  3. doit version: VERSION = (0, 36, 0)

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant