New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not ignoring .git files, despite being put in ignore params #208
Comments
Hi, same story here. This does not work for me: live-server --ignore=".git, .idea" I think the simple example in the readme for the CLI inputs would be great. Thank you!
|
I was going to investigate it and possible fix it but after seeing 14 pull requests I wonder if this project is still maintained.. |
I had a bit of a dig into it and I believe it is an issue with the underlying use of chokidar, but it's a bit of a ball of mud to try and sort out. While the docs say |
Note: the solution (from #178) is to explictly tell
|
A hard looking for solution:
./ To start on the current directory as @unitof said. |
This also seems to work live-server --ignore="$PWD/.git/**" Ideally relative paths should be resolved to absolute paths |
Hello! Really enjoying live-server, but I find that my level 2 log output gets cluttered quickly because a change is constantly detected in the file
./.git/index
. I tried adding .git to my ignore params field, but it did not work. Things I tried in params:ignore: .git
,ignore: .git/*
,ignore: .*
, andignore: .git/**
. Would love some help! Thanks.The text was updated successfully, but these errors were encountered: