Skip to content

Commit 7b6d113

Browse files
committed
Improve the mtimedelay change
1 parent 34ae625 commit 7b6d113

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/common.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ end
1919

2020
@static if Sys.isapple()
2121
const mtimedelay = 3.1 # so the defining files are old enough not to trigger mtime criterion
22+
elseif Sys.islinux() && isfile("/etc/wsl.conf") # WSL
23+
const mtimedelay = 2.0
2224
else
23-
const mtimedelay = 0.2
25+
const mtimedelay = 0.1
2426
end
2527

2628
yry() = (sleep(mtimedelay); revise(); sleep(mtimedelay))

0 commit comments

Comments
 (0)