ITADN

Port not freed as quickly as npm's live-server

#136Closedrikhuijzer 创建于 2025-01-27
R
rikhuijzercommented
Hi! Thank you for making `live-server`. Really nice that this is available via `cargo install`. I just switched over from <https://www.npmjs.com/package/live-server> and probably am going to have to switch back because ``` called `Result::unwrap()` on an `Err` value: "Address 0.0.0.0:8080 is already in use" ``` Now I'm aware that this is a common problem. On linux systems it may take up to 30 seconds for ports to be released again. However, this error somehow did not occur with the npm package. So maybe the package has a work-around for this which could be useful for lomirus/live-server too?
关闭于 2025-01-27 1 条评论