No release in over 3 years
A simple web server for local development that provides an auto-reloading feature. It automatically refreshes the browser when a file is changed.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 3.0
~> 1.15
~> 2.2
~> 4.0
~> 1.8
 Project Readme

autoreload_server

Gem Version License

A simple web server for local development that provides an auto-reloading feature. It automatically refreshes the browser when a file is changed.

Installation

Install the gem and add to the application's Gemfile by executing:

bundle add autoreload_server

If bundler is not being used to manage dependencies, install the gem by executing:

gem install autoreload_server

Usage

The autoreload-server command starts a web server with the specified directory as the document root.

$ ls -1 public/
index.html
$ autoreload-server public

Once the server is running, access http://localhost:4000/. When you modify a file in the public directory, the browser will automatically reload.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/yoshoku/autoreload_server. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the AutoreloadServer project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct. _OF_CONDUCT.md).