ITADN

Feature request: ignore patterns loaded from file (.gitignore)

#132ClosedEnigmaCurry 创建于 2025-01-26
enhancement
E
EnigmaCurrycommented
Right now I have to prepare a blank directory and symlink files I want to share via live-server: ``` mkdir export cd export ln -s ../modules . ln -s ../index.html . ``` I do this because I have some other files in the parent directory that I do NOT want to share. However, all of these files are listed in the `.gitignore` file. It would be nice if live-server could optionally honor my .gitignore and refuse to serve these files. See https://crates.io/crates/ignore
关闭于 2025-01-28 5 条评论