fix(core): watch location only when vcs is present

This commit is contained in:
Dax Raad
2026-07-08 00:38:37 -04:00
parent ab1231cbaa
commit a42cabd7f0
@@ -46,7 +46,7 @@ const layer = Layer.effect(
.flatMap((item) => item.info.watcher?.ignore ?? [])
const home = path.resolve(location.directory) === path.resolve(os.homedir())
if (!home) {
if (!home && location.vcs) {
yield* watcher
.subscribe({
path: location.directory,