Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lukaszkorecki/hook

hook into file changes and run commands
https://github.com/lukaszkorecki/hook

Last synced: 14 days ago
JSON representation

hook into file changes and run commands

Awesome Lists containing this project

README

        

# HOOK :leftwards_arrow_with_hook:

## Examples

```sh
hook -args -cmd 'bundle exec rspec'
```

will run `bundle exec rspec `

```sh
hook -cmd 'bundle exec rspec' -dir ~/proj/yoloapp
```

will run `bundle exec rspec` for any file change in `~/proj/yoloapp`

## Bugs

- it doesn't fully work yet for some commands. (environment problems etc etc)

## License

MIT