Explorar el Código

chore: cleanup

Aiden Cline hace 4 meses
padre
commit
0f30115205
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      packages/opencode/src/file/watcher.ts

+ 0 - 2
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()
   }
 }