rack-livereload/config.ru

15 lines
165 B
Plaintext
Raw Normal View History

2011-11-04 15:51:22 +00:00
require 'sinatra'
$: << 'lib'
require 'rack/livereload'
2011-11-17 20:44:48 +00:00
use Rack::Logger
2011-11-04 15:51:22 +00:00
use Rack::LiveReload
get '/' do
2011-11-17 20:44:48 +00:00
File.read('index.html')
2011-11-04 15:51:22 +00:00
end
run Sinatra::Application