Popularity
4.4
Declining
Activity
0.0
Stable
20
1
2
Programming language: Crystal
License: MIT License
Tags:
Development Tools
Latest version: v0.4.0
kemal-watcher alternatives and similar shards
Based on the "Development Tools" category.
Alternatively, view kemal-watcher alternatives based on common mentions on social networks and blogs.
-
Warden
Warden check periodically your files, run a specific command, and run a git command if you want and the command succeed.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of kemal-watcher or a related project?
README
kemal-watcher
Kemal plugin to watch files like client stuff.
Installation
Add this to your application's shard.yml
:
dependencies:
kemal-watcher:
github: faustinoaq/kemal-watcher
Usage
Add Kemal.watch
to your Kemal app to watch files.
require "kemal"
require "kemal-watcher"
get "/" do
File.read "src/views/index.html"
end
files = [
"public/*.js",
"public/*.html"
]
Kemal.watch(files)
Kemal.run
How does it works?
Kemal.watch
uses watcher to watch files and add a new handler to Kemal that inject a script in the response. When a change is detected an event handler is executed and then send a reload signal to the clients.
Contributing
- Fork it ( https://github.com/faustinoaq/kemal-watcher/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
Disclaimer
Kemal.watch
is intended for use in a development environment.
Contributors
- faustinoaq Faustino Aguilar - creator, maintainer