diff --git a/README.md b/README.md index 48aa5b5..21e791e 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ monitor: # 不监听文件的格式,此类文件更改不会执行 command 中的命令 # .DS_Store 后缀为 .DS_Store 的文件更改,不会执行 command 中的命令 - types: + exceptTypes: - .DS_Store # 监听的事件类型,发生此类事件才执行 command 中的命令 diff --git a/README_EN.md b/README_EN.md index 68c7737..b670c11 100644 --- a/README_EN.md +++ b/README_EN.md @@ -95,7 +95,7 @@ monitor: # ignore the suffix of the listener file, which changes the file not to execute commands # .DS_Store file changes suffixed with .go not execute commands - types: + exceptTypes: - .DS_Store # the type of event to listen to. Only when such an event occurs can the command in command be executed diff --git a/raw.go b/raw.go index 40d4a95..8263d6e 100644 --- a/raw.go +++ b/raw.go @@ -34,7 +34,7 @@ monitor: # 不监听文件的格式,此类文件更改不会执行 command 中的命令 # .DS_Store 后缀为 .DS_Store 的文件更改,不会执行 command 中的命令 - types: + exceptTypes: - .DS_Store # 监听的事件类型,发生此类事件才执行 command 中的命令