-
Notifications
You must be signed in to change notification settings - Fork 153
Vi and emacs don't properly live update in preview #563
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
Comments
it's probably because they don't edit a file (with the same inode) but replace it? I think we've seen that issue already (can't find the reference atm). related #157 |
For Neovim I added the following to
and that alleviated the issue. |
fixed with #1127 |
I don’t see it fixed in vi. Can you confirm? When I save changes in vi, the file is written, but the preview server doesn’t see anything as changed, so I have to reload in the browser. |
It seems like the first save in vi triggers a reload, but subsequent saves (after the |
I think the problem is a race condition where the await for lazy config #695 here |
You're right, it's still failing. |
Oh wow, I spent more time than I'd like to admit thinking why Observable framework doesn't react to changes in a simple file. I was using Vim to edit the file. |
@nelsonspbr This was fixed a few months ago. Are running an old version of Framework? If you’re still experiencing a problem with the latest version of Framework, please file a new issue with steps to reproduce. I’ve just tested locally using vi and live preview is working as expected. Thank you. |
Ambassador Martien reports that when saving files using vim and emacs in their default configurations, the CLI does not properly live update and instead shows an error about "file no longer exists".
The text was updated successfully, but these errors were encountered: