aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 9cd5366..09d2beb 100644
--- a/init.lua
+++ b/init.lua
@@ -26,7 +26,7 @@ end
-- vis will terminate them.
local watches = {} -- luacheck: ignore watches
local function _add_watch(file, func, mode, cmd_options)
- local cmd = 'inotifywait '
+ local cmd = 'exec inotifywait '
if cmd_options then cmd = cmd .. ' ' .. cmd_options .. ' ' end
if mode == 'monitor' then cmd = cmd .. '-m ' end