-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
File not refreshing #18
Comments
Hey! You do need the Sirv assumes production mode by default, and in production you don't want to be constantly hitting the filesystem. Hope that helps! |
Oh cool. Should I open a PR with some warning o better flagging of this. It wasn't that obvious from the README, or maybe I was reading the wrong one 🤔 |
I'm experiencing this issue too with sirv 0.2.2, I'm using the |
Is it possible you have any lingering cache headers or service workers running? The dev mode for sirv maintains zero cache & traverses the filesystem every time a request reaches it. I'm thinking either of those two are fulfilling the request before it hits your server |
Wait, no I'm tired an misreading what |
No problem! My eyes often play tricks on me too |
Maybe I'm doing something wrong, but for some reason just running
sirv
with anindex.html
and a script file, I change my script file, refresh and the script does not update. I'm running v0.2.2, do I need a special flag? I guess I shouldn't since it's just a static need.The text was updated successfully, but these errors were encountered: