lib/stack/runner.rb in stack-0.0.7 vs lib/stack/runner.rb in stack-0.0.8
- old
+ new
@@ -5,10 +5,11 @@
attr_accessor :arguments
attr_accessor :generator
def initialize(argv)
@argv = argv
+
@options = { }
parse!
end
@@ -46,9 +47,11 @@
# make a watcher
if Stack::runner.configuration.server_watch
watcher = Stack::Watcher.new(@generator)
watcher.keep_alive = false
watcher.observe
+ else
+ #@generator.transform!
end
# and a server
server = Stack::Server.new(@generator)
server.observe
when /(watch)/
\ No newline at end of file