-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Changes made to markdown file isn't showing up in the browser. #38
Comments
I have the same problem, which I can solve by deleting everything in /cache/ |
Grav caching bug, or intended behavior? |
Ok please try a couple of things:
Please let me know which of these options worked for you, that will help determine what's going on. Cheers! |
I will make some tests tomorrow. I have a feeling where the problem is. |
I experienced the same problem. It seems to have nothing to do with editors or encoding. I was asked to do a change within the file Ran |
I have updated the |
Okay, here is my observation: The same behavior happens with LightPaper. In all my test cases I changed value RewriteBase in the .htaccess |
ok, i have a feeling my fix is not working as I have two other reports that it didn't work.. grr.. i'll try again, but its so hard when i can't reproduce it myself! Anyway, for the cache to get updated, you have to change a file in the For most people, editing a file automatically updates the parent directory with the same modified date. It seems for some people this doesn't happen. This is particularly strange because one user who has this issue is running OS X 10.9 with the same filesystem, php version, and even the same web server configuration as me. The previous method only checked folders, as this is the fastest way to check the modified dates. This new method I added actually checks every file individually. This really should work :) But it seems its not. So I will dig into it more tomorrow. Thanks for helping track down this issue guys! |
You're right, the folder modify-date is older than the file modify date. I insert some wild keystrokes and than hit save. So there should be some actual changes... |
Ugg.. i just tried 2 other macs, a macbook air, and a mac mini. Both work fine even though one was running Yosemite beta with mamp pro, the other is mavericks with built-in apache and homebrew php. I just wish I could find a setup that failed like you guys are seeing. |
I am running everything at Domainfactory on a simple shared webserver. |
I also tried the github version. Just to make sure I did it correctly. But changes to *.md are not visible within the browser. The date that changes is always the modified date value. The creation date stays the same. At least at this point its behaviour is normal. I read about many problems windows people have with folder dates. |
Ok, i think i have this resolved now. Please try the develop branch guys. |
Works for me 👍 Great work @rhukster and the whole team :) |
Awesome, we'll get a 0.9.1 release out early next week with this and a couple of other bug fixes. |
Yes, I can confirm it also works for me. |
Thanks for helping us get to the bottom of this. |
Commit was supposed to be for getgrav/grav-plugin-admin#38 |
I know the official documentation recommended LightPaper for editing markdown files, but since I'm not accustomed to it, I tried editing the markdown files using other code editors.
Surprisingly, changes made using those code editor aren't showing up in the browser (Chrome/Firefox), I even tried clearing the browser everytime I'm previewing but the problem persist. The only way to have the browser reflect the changes is by opening and re-saving the markdown files using LightPaper.
Those code editors are:
Encoding-related issue?
The text was updated successfully, but these errors were encountered: