Sha256: abdbab182940f6954cb106229245265ffe62d7830d060fe6119660b129dcbe12
Contents?: true
Size: 423 Bytes
Versions: 4
Compression:
Stored size: 423 Bytes
Contents
namespace :batman do desc "Start the live-reload server (fb-flo)" task :live_reload do puts "Starting the live-reload server (node.js is required)" gem_root = File.dirname(File.dirname(File.dirname(__FILE__))) cmd = "node #{gem_root}/vendor/assets/javascripts/batman_rails_flo/flo_server.js" puts cmd IO.popen(cmd) do |data| while line = data.gets puts line end end end end
Version data entries
4 entries across 4 versions & 1 rubygems