50 Star 342 Fork 89

Zoker / Taskover

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Guardfile 823 Bytes
一键复制 编辑 原始数据 按行查看 历史
Zoker 提交于 2015-10-13 22:04 . add guard and livereload
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
## Uncomment and set this to only include directories you want to watch
# directories %w(app lib config test spec features) \
# .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
## Note: if you are using the `directories` clause above and you are not
## watching the project directory ('.'), then you will want to move
## the Guardfile to a watched dir and symlink it back, e.g.
#
# $ mkdir config
# $ mv Guardfile config/
# $ ln -s config/Guardfile .
#
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
guard 'livereload' do
watch(%r{views/.+\.(erb|haml|slim)$})
watch(%r{helpers/.+\.rb})
watch(%r{controllers/.+\.rb})
watch(%r{models/.+\.rb})
watch(%r{public/.+\.(css|js|html)})
end
Ruby
1
https://gitee.com/kesin/taskover.git
git@gitee.com:kesin/taskover.git
kesin
taskover
Taskover
master

搜索帮助