Releases: lomirus/live-server
Releases · lomirus/live-server
v0.8.0
Highlight
- Support hot reload by @Pistonight in #83
Chores
- docs: Add document for
link()
method by @lomirus - test: Remove extra sleeping time when testing request by @lomirus
- deps: bump tokio from 1.35.0 to 1.39.2 by @dependabot
- deps: bump futures from 0.3.29 to 0.3.30 by @dependabot
- deps: bump clap from 4.4.11 to 4.5.11 by @dependabot
- deps: bump axum from 0.7.2 to 0.7.5 by @dependabot
- deps: bump env_logger from 0.10.1 to 0.10.2 by @dependabot
- deps: bump local-ip-address from 0.5.6 to 0.6.1 by @dependabot
- deps: bump reqwest from 0.11.23 to 0.12.4 by @dependabot
- deps: bump open from 5.0.1 to 5.3.0 by @dependabot
- deps: bump log from 0.4.17 to 0.4.22 by @dependabot
- deps: bump mime_guess from 2.0.3 to 2.0.5 by @lomirus
v0.7.0
Features
- Add
--open/-o
option, which will open the page in browser automatically - Return an error page which supports live-reload when failing to access any page, in order to make sure that live-reload won't be interrupted. For example, when attempting to access a page that does not exist, the server would response a blank page in the previous version, and even when this file was modified, the page wouldn't be refreshed.
Refactor
- The short name of
--host
option was renamed to-H
in order to avoid conflict with-h
(--help
) - The default value of
--host/-H
was changed to0.0.0.0
- The default value of
--port/-p
was changed to0
API
- Revamp the API
Before:
listen("127.0.0.1", 8080, "./").await?;
After:
listen("127.0.0.1:8080", "./").await?.start().await?;
CI
- Add test case to reduce potential mistakes
Dependencies
- Replace
async-std
withtokio
- Replace
tide
&tide-websockets
&uuid
withaxum
- Bump
env_logger
from0.10.0
to0.10.1
- Bump
clap
from4.4.6
to4.4.11
- Add
futures
,open
as dependency - Add
reqwest
as dev dependency
v0.6.2
v0.6.1
v0.6.0
v0.5.0
v0.4.2
v0.4.1
v0.4.0
v0.3.0
Feature
- Customize the host of server by option
-h
/--host
.
Fix
- Panic on some Chinese Language OS because it cannot get the local IP address. Now live-server can run on them but will just listen on
localhost
by default and show the error message.
Improvement
- Some other error message refinements.