We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29ba37c commit 461f64aCopy full SHA for 461f64a
test/other/filewatch.lua
@@ -31,7 +31,7 @@ fw.update()
31
assert(#events == 1)
32
assert(events[1][1] == 'change')
33
34
-local f <close> = io.open((path / 'test.txt'):string(), 'a')
+local f <close> = io.open((path / 'test.txt'):string(), 'w')
35
assert(f)
36
f:write('xxx')
37
f:flush()
0 commit comments