#server #file-server #http #front-end #development #tool

app livehttpd

A development server with live-reload capabilities

11 stable releases

1.0.10 Sep 17, 2024
1.0.9 Jun 14, 2024
1.0.8 Feb 5, 2024
1.0.7 Nov 27, 2023
1.0.3 Feb 25, 2023

#879 in HTTP server

MIT/Apache

44KB
646 lines

livehttpd

Crates.io Lib.rs

A development server with live-reload capabilities.

Usage

Livehttpd can be pointed at a directory, which it will then serve locally. Whenever any file in the specified directory changes, livehttpd will reload all connected web-browsers.

You can also stop and restart livehttpd, in which case web browsers will reload whenever they can connect to the server again. This may be useful when integrating livehttpd into custom build processes.

livehttpd .

Use the above command to serve the current directory. Please refer to the help message for additional command-line options.

License

livehttpd is free and open source software distributed under the terms of either the MIT or the Apache 2.0 license, at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~9–18MB
~234K SLoC