-
-
Save takkkun/1932937 to your computer and use it in GitHub Desktop.
guard で *.less と *.coffee 監視してコンパイル
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org' | |
gem 'guard' | |
gem 'guard-less' | |
gem 'guard-coffeescript' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
guard :less, output: 'public/stylesheets', import_paths: ['assets/less'] do | |
watch %r{assets/less/.+\.less} | |
end | |
guard :coffeescript, output: 'public/javascripts' do | |
watch %r{assets/coffeescript/.+\.coffee} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment