Skip to content

watch depedency has no effect on task selection  #460

@sandeep-gh

Description

@sandeep-gh

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions