Skip to content

The open source coding agent.

TypeScript

chore: cleanup

Aiden Cline0f30115205d1
diff --git a/packages/opencode/src/file/watcher.ts b/packages/opencode/src/file/watcher.ts
index 4459d20e938..4adf721b947 100644
--- a/packages/opencode/src/file/watcher.ts
+++ b/packages/opencode/src/file/watcher.ts
@@ -47,7 +47,6 @@ export namespace FileWatcher {
const subscribe: ParcelWatcher.SubscribeCallback = (err, evts) => {
if (err) return
for (const evt of evts) {
- log.info("event", evt)
if (evt.type === "create") Bus.publish(Event.Updated, { file: evt.path, event: "add" })
if (evt.type === "update") Bus.publish(Event.Updated, { file: evt.path, event: "change" })
if (evt.type === "delete") Bus.publish(Event.Updated, { file: evt.path, event: "unlink" })
@@ -83,7 +82,6 @@ export namespace FileWatcher {
)
export function init() {
- // if (!Flag.OPENCODE_EXPERIMENTAL_WATCHER) return
state()
}
}