build: add zine file watcher to build
This commit is contained in:
parent
d7ad3f730a
commit
21a850b06a
2 changed files with 13 additions and 0 deletions
8
src/watcher/root.zig
Normal file
8
src/watcher/root.zig
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
const builtin = @import("builtin");
|
||||
|
||||
pub const Watcher = switch (builtin.target.os.tag) {
|
||||
.linux => @import("serve/watcher/LinuxWatcher.zig"),
|
||||
.macos => @import("serve/watcher/MacosWatcher.zig"),
|
||||
.windows => @import("serve/watcher/WindowsWatcher.zig"),
|
||||
else => @compileError("unsupported platform"),
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue