bundle # install the gems bundle exec guard init livereload # to add livereload section to Guardfile bundle exec guard # guard will monitor files mkdir -p public mv index.html public/index.html
bundle exec rackup config.ru
open http://127.0.0.1:9292/index.html #edit public/index.html and the browser will autoreload
xxxxxxxxxx
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>This page will autoreload</title>
</head>
<body>
<p>Change this</p>
</body>
</html>