pydoit / doit

CLI task management & automation tool
http://pydoit.org
MIT License
1.84k stars 175 forks source link

watch depedency has no effect on task selection #460

Open sandeep-gh opened 11 months ago

sandeep-gh commented 11 months ago

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

Fund with Polar