github Effect-TS/effect @effect/platform@0.87.12

latest releases: @effect/ai-amazon-bedrock@0.12.1, @effect/platform@0.93.7, @effect/ai-google@0.11.1...
5 months ago

Patch Changes

  • #5177 32ba77a Thanks @johtso! - Fix KeyValueStore.make type mismatch

  • #5174 d5e25b2 Thanks @schickling! - feat(platform): add recursive option to FileSystem.watch

    Added a recursive option to FileSystem.watch that allows watching for changes in subdirectories. When set to true, the watcher will monitor changes in all nested directories.

    Note: The recursive option is only supported on macOS and Windows. On other platforms, it will be ignored.

    Example:

    import { FileSystem } from "@effect/platform"
    import { Effect, Stream } from "effect"
    
    Effect.gen(function* () {
      const fs = yield* FileSystem.FileSystem
    
      // Watch directory and all subdirectories
      yield* fs
        .watch("src", { recursive: true })
        .pipe(Stream.runForEach(console.log))
    })

Don't miss a new effect release

NewReleases is sending notifications on new releases.