fix: polling check is reversed
This commit is contained in:
parent
b1457806d7
commit
bb32bcea1e
2 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue