Skip to content

--watch does not work on macOS 14.5 when saving from VSCode #21905

Description

@paperclover

Zig Version

0.14.0-dev.2126+e27b4647d

Steps to Reproduce and Observed Behavior

Hardware: Apple MacBook Pro. macOS 14.5

  • zig init
  • zig build --watch
  • Save a file using Visual Studio Code. Observe nothing happening
  • Save a file using nvim. Rebuild occurs
~/code/hello $ zig build --watch
Build Summary: 5/5 steps succeeded
install success
├─ install hello success
│ └─ zig build-lib hello Debug native success 652ms MaxRSS:189M
└─ install hello success
└─ zig build-exe hello Debug native success 671ms MaxRSS:188M
watching 23 directories, 0 processes

This does not affect other editors I've tried: Zed, macOS TextEdit, Xcode

Expected Behavior

Using a build after #21795 should have worked.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.zig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions