rack-livereload/config.ru

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