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

app livehttpd

A development server with live-reload capabilities

12 stable releases

1.0.11 Nov 29, 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

#441 in HTTP server

Download history 111/week @ 2024-09-16 21/week @ 2024-09-23 7/week @ 2024-09-30 5/week @ 2024-10-14 112/week @ 2024-11-25 19/week @ 2024-12-02

131 downloads per month

MIT/Apache

43KB
643 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

~8–18MB
~231K SLoC