Total Pageviews

Monday, 7 March 2022

fwatch

监听文件变化,执行命令.

go install github.com/hellojukay/fwatch@latest 
hellojukay@local fwatch (main) $ ./fwatch --help
Usage of ./fwatch:
  -chdir string
        Execute command with chdir (default "/home/hellojukay/github/fwatch")
  -cmd string
        Execute command when files changed
  -exclude string
        Exclude watch some files or dirs with glob,split with char ';' ,when provide multiple
  -include string
        Watch files or dirs with glob,split with char ';' ,when provide multiple         (default "./;./*")
  -verbose
        Print debug log
from https://github.com/hellojukay/fwatch

No comments:

Post a Comment