Sha256: 39912babe89e711dadcd284d3e74c83dfe909a9d341769db522e3c4619312da1

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

require "bundler/gem_tasks"

desc 'Update livereload.js'
task :update_livereload_js do
  require 'httparty'

  File.open('js/livereload.js', 'wb') { |fh|
    fh.print HTTParty.get('https://raw.github.com/livereload/livereload-js/master/dist/livereload.js').body
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rack-livereload-0.2.0 Rakefile
rack-livereload-0.1.0 Rakefile