Skip to content

Instantly share code, notes, and snippets.

@kkosuge
Forked from rummelonp/Gemfile
Created May 24, 2012 14:21
Show Gist options
  • Save kkosuge/2781851 to your computer and use it in GitHub Desktop.
Save kkosuge/2781851 to your computer and use it in GitHub Desktop.
guard で *.less と *.coffee 監視してコンパイル
source 'http://rubygems.org'
gem 'guard'
gem 'guard-less'
gem 'guard-coffeescript'
# -*- 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