Directory dependencies are added to the dependency graph in the same way that files are. Chokidar accepts directories and will watch them recursively. Then, when a file changes we determine the "recompile" list by finding the dependants of each of the files ancestor directories.
Coverage decreased (-5.2%) to 76.19% when pulling 57a2ef4c9e68c15a2489ccfb788fb8ed57c96b54 on bradlc:dir-dependency into ab73f3652351a4a7f470aca185badc0a7af4e355 on postcss:master.
This PR adds support for
dir-dependency
messages.Directory dependencies are added to the dependency graph in the same way that files are. Chokidar accepts directories and will watch them recursively. Then, when a file changes we determine the "recompile" list by finding the dependants of each of the files ancestor directories.
Any questions or concerns let me know 👍