Changed live_stylesheets to live, because, well, that's too long to type. Updated RMQ to latest version

This commit is contained in:
Todd Werth
2015-04-19 21:33:08 -07:00
parent 600c3d8a8e
commit 53e23c472d
5 changed files with 4 additions and 5 deletions

View File

@@ -153,7 +153,7 @@ You should have this:
## Live stylesheet reloading
In REPL, type: `live_stylesheets`
In REPL, type: `live`
![image](http://clrsight.co/jh/LiveReload4.gif?+)

View File

@@ -21,7 +21,6 @@ Motion::Project::App.setup do |app|
end
app.development do
app.info_plist["ProjectRootPath"] = File.dirname(__FILE__)
end
end
task :"build:simulator" => :"schema:build"

View File

@@ -1,6 +1,6 @@
## Live stylesheet reloading
In REPL, type: `live_stylesheets`
In REPL, type: `live`
![image](http://clrsight.co/jh/LiveReload4.gif?+)

View File

@@ -1,6 +1,6 @@
if RUBYMOTION_ENV == "development"
module Kernel
def live_stylesheets(interval = 0.5, debug=false)
def live(interval = 1.0, debug=false)
rmq_live_stylesheets interval, debug
end

View File

@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
spec.executables << 'potion'
spec.add_runtime_dependency "ruby_motion_query", "~> 1.3.2"
spec.add_runtime_dependency "ruby_motion_query", "~> 1.3.4"
spec.add_runtime_dependency "ProMotion", "~> 2.3"
spec.add_runtime_dependency "motion_print"
spec.add_runtime_dependency "motion-cocoapods"