8 lines
319 B
Zig
8 lines
319 B
Zig
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"),
|
|
};
|