cortesi / modd

A flexible developer tool that runs processes and responds to filesystem changes
MIT License
2.79k stars 130 forks source link

Does not monitor if directory in path pattern is created after modd execution #50

Open oblitum opened 6 years ago

oblitum commented 6 years ago

If ./foo doesn't exist and modd is executed with:

foo/* {
    prep +onchange: echo @mods
}

Then after mkdir foo && echo foo > foo/foo.txt (plus any amount of echo foo >> foo/foo.txt), the current instance of modd won't trigger anything, it's necessary to close and execute it again with an existing directory structure.