crystal-fswatch
crystal-fswatch
Installation
-
Add the dependency to your
shard.yml
:dependencies: fswatch: github: bcardiff/crystal-fswatch
-
Run
shards install
Usage
require "fswatch"
FSWatch.watch "." do |event|
pp! event
end
sleep 10 # keep main fiber busy to prevent exiting
Contributing
- Fork it (https://github.com/bcardiff/crystal-fswatch/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Brian J. Cardiff - creator and maintainer
Repository
crystal-fswatch
Owner
Statistic
- 16
- 2
- 1
- 3
- 1
- over 2 years ago
- June 28, 2020
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 07:22:03 GMT
Languages