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
Live Reloading Not Working #5
Comments
Hey @Dosx001 ! I'd fixed this issue on latest release. Please upgrade
Then , live reloading will work! |
@yusukebe thanks for looking at my issue. Unfortunately, the update didn't fix my issue. Like I said don't care about live changes but maybe introduce a new option like |
@Dosx001, Let me get this straight... Anyway, I have been defined that "live reloading" with Is my understanding correct? |
@yusukebe hmmm then maybe it's something with WSL that's causing the problem. I am on Windows 10 and am using VcXsrv for handling GUI stuff for Linux. |
@Dosx001 OK, I'll check later. Please wait! |
Hey @Dosx001 I've tried I think that the program can't detect file changes on your environment. I want to fix this issue, but Its' difficult to reproduce because I don't have Windows machine :( |
@Dosx001 I'm sorry many times. I tried on Ubuntu, then the problem live reloading is not working is occurred. It might be fixed. |
@yusukebe sorry I don't understand your last comment. Is it not working on Ubuntu? Either way, I tried it on Arch Linux with WSL and it didn't work. So I'm positive it has something to do with WSL. I wish I could help you fix the issue but I don't know Go. Unfortunately, I did find a vim plugin that does work when using WSL and offers some more robust features. So I will be dropping gh-markdown-preview from my workflow. But before I go I think there is another issue you should fix. #7 |
@Dosx001 Thank you for your comment.
Sorry for the trouble. It works on Ubuntu. There is one thing that I want to ask you. If you run Please let me know. |
@yusukebe both Arch and Ubuntu outputted |
@Dosx001 Oh I see. Thank you! |
I'm on current Arch Linux with the current version of |
Hi @bulletmark It seems to be a bug. We should reopen this issue. Thank you! |
I run:
Then it just sits there and never logs anything more (or updates the browser) regardless of how many times I change README.md. Note, I have not looked at your code but when monitoring for file changes you should not monitor the actual file, rather you should monitor the parent directory and look for changes on that file name. The first approach will not catch the case where an editor changes a file by deletion + creation. The second approach does catch that. I am using vim here so I don't think that is the issue though I remember I got caught by this once on a Mac (with my own software monitor). |
@bulletmark I found this issue occurs in the situation using Vim. Using Vim, Live Reloading is not working on my Mac. |
Hi, @bulletmark I released |
Yes, seems to have fixed it for me. Thanks. |
Both
gh markdown-preview --reload
gh markdown-preview -r
are not working.I'm using Ubuntu with WSL, it wasn't working on Firefox on Windows. I opened the Linux version but that didn't work either. I also tried Edge and nothing.
I'm editing my README.md inside Vim. I don't expect live changes but I expected changes everytime I save changes.
The text was updated successfully, but these errors were encountered: