fix: polling check is reversed

This commit is contained in:
CJ van den Berg 2026-03-14 13:59:04 +01:00
parent b1457806d7
commit bb32bcea1e
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 3 additions and 2 deletions

View file

@ -27,6 +27,7 @@ pub fn Create(comptime variant: InterfaceType) type {
pub const watches_recursively = false;
pub const detects_file_modifications = true;
pub const polling = variant == .polling;
const Handler = switch (variant) {
.threaded => types.Handler,