Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 530 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 530 Bytes

rackup-box

Rack development server with instant reloading using Ruby::Box.

Install

gem install rackup-box --clear-sources --source https://rubyelders.github.io/rackup-box --source https://gem.coop

Example config.ru

run ->(env) { [200, {"content-type" => "text/plain"}, ["Hello World"]] }

Usage

RUBY_BOX=1 rackup-box config.ru

Open http://localhost:9292, do a change in config.ru (like change Hello World to Hello Jimbo) and refresh the page.