Skip to content

About

watcher directory and run command

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go file watcher

watch directory and run command

格式

go_file_watcher --config=test.conf

test.conf例子

{"command_list":[
    {
        "pattern": "*.py",
        "command": "sudo supervisorctl restart redis"
    },
    {
        "command": "echo things changed"
    }
]
"directory": "/home/vagrant/code/code1"
}

About

watcher directory and run command

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址