gajus / turbowatch

Extremely fast file change detector and task orchestrator for Node.js.
Other
944 stars 23 forks source link

fix: use watch instead of watch-project #8

Closed danielrearden closed 1 year ago

danielrearden commented 1 year ago

Even though watch is deprecated, it works as expected. watch-project ends up watching the entire CWD because, according to the docs, it looks for a . watchmanconfig to establish the root.

gajus commented 1 year ago

Please refer to https://github.com/gajus/watchrow#project-root

gajus commented 1 year ago

Maybe the version that you are using does not have this fix?

https://github.com/gajus/watchrow/commit/03c748a33194e318497f0659a87c58a42f4fe468