# build runner: refactor fs watch logic for OS abstraction · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/5efcc2e9e7c84893b9e418ca82d8d2d4366dde7c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 5efcc2e9e7c84893b9e418ca82d8d2d4366dde7c

Requested commit: 5efcc2e9e7c84893b9e418ca82d8d2d4366dde7c

Commit: 5efcc2e9e7c84893b9e418ca82d8d2d4366dde7c

Tree: 5cebca8abfb571a36b8415950e9be9ece8555441

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
build runner: refactor fs watch logic for OS abstraction

Makes the build runner compile successfully for non-linux targets;
printing an error if you ask for --watch rather than making build
scripts fail to compile.

```

## Parents

- [f77b43dad39a5140f3e39f32e98e9624368c16d6](https://git.cafe/gitcafe/zig/commit/f77b43dad39a5140f3e39f32e98e9624368c16d6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/5efcc2e9e7c84893b9e418ca82d8d2d4366dde7c?format=markdown)
