rack-livereload/config.ru
2011-11-17 15:44:48 -05:00

15 lines
165 B
Ruby

require 'sinatra'
$: << 'lib'
require 'rack/livereload'
use Rack::Logger
use Rack::LiveReload
get '/' do
File.read('index.html')
end
run Sinatra::Application