spec/apps/reload.rb in nyara-0.1.pre.1 vs spec/apps/reload.rb in nyara-0.1.pre.2
- old
+ new
@@ -21,10 +21,11 @@
end
configure do
set :port, 3004
set :root, ENV['RELOAD_ROOT']
- set :app_files, 'reloadee.rb'
+ require project_path "reloadee.rb"
+ set :watch, true
end
get '/views' do
render 'index'
end