Sha256: 803b9e1c9253659908295223ae227d331588ff016b43fdb1c22e2fffe6f22500

Contents?: true

Size: 627 Bytes

Versions: 19

Compression:

Stored size: 627 Bytes

Contents

group :development do
  options = {
    input: 'app/js',
    output: 'dist/app_js',
    all_on_start: true,
    patterns: [/^app\/js\/(.+)\.coffee$/]
  }
  guard 'coffeescript', options do
    options[:patterns].each { |pattern| watch(pattern) }
  end

  options = {
    input: 'spec/coffeescripts/helpers',
    output: 'dist/spec_helpers',
    all_on_start: true,
    patterns: [/^spec\/coffeescripts\/helpers\/(.+)\.coffee$/]
  }
  guard 'coffeescript', options do
    options[:patterns].each { |pattern| watch(pattern) }
  end

  guard :copy3, from: 'app/js', to: 'dist/app_js' do
    watch(%r{^app\/js\/.+\.js$})
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ela-4.1.6 Guardfile
ela-4.1.5 Guardfile
ela-4.1.4 Guardfile
ela-4.1.3 Guardfile
ela-4.1.2 Guardfile
ela-4.1.1 Guardfile
ela-4.1.0 Guardfile
ela-4.0.0 Guardfile
ela-3.4.3 Guardfile
ela-3.4.2 Guardfile
ela-3.4.0 Guardfile
ela-3.3.1 Guardfile
ela-3.3.0 Guardfile
ela-3.2.0 Guardfile
ela-3.1.1 Guardfile
ela-3.1.0 Guardfile
ela-3.0.0 Guardfile
ela-2.0.0 Guardfile
ela-1.1.0 Guardfile