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
Browser does not show changes #171
Comments
I encountered the same issue, all seems good but live update doesn't work. Vim version: 8.1 After digging a little, in the web socket nothing come in the network debugger in messages ( Chromium ). |
Ok digging I think there is change in how nodejs or curl handle tcp socket and buffer, the code that handle the PUT for refreshing is garbadge.
|
@Pocochub can you confirm your nodejs version ? |
My Node.js version is v12.8.0, I will try tonight on v8.x :) |
Personally I use |
@Pocochub can you confirm if the fix in instant-markdown/instant-markdown-d#65 works for you? |
Working perfectly on Node v12.8.0 😄 |
Hi, I encountered the same issue on ArchLinux and I tried to switch to Node v12.8.0 but it didn't work ("Firefox browser didn't update with changes to the .md file, automatically"). FYI, my environment information are as follows:
I tested this plugin on my macbook pro with the same I have checked previous issues but nothing really help. Please give me some hints about this bug. Thanks in advance. Best regards, |
@haha405pan Could you try with |
@haha405pan It's working with NodeJs last version for me on Archlinux like |
Thanks for the message, but I don't get any luck with |
Thanks for the message, I also tried the Could you please tell me the steps that get this plugin to work on archlinux? It would be much appreciated! Thanks! |
@haha405pan Nothing special
|
Problem summary
Browser no longer updates with changes to the .md file, automatically, after file save (though
instant_markdown_slow
isn't set) nor after browser refresh. Have to restart nvim to see changes.Expected
Changes are mirrored instantly to the browser
Environment Information
Attempted to reinstall nvim, vim-plug and instant-markdown-d, clean nvim config.
Provide the debug output (required)
Run
cat my_markdown_file.md | instant-markdown-d --mathjax --debug
and paste theconsole output here:
(node:26333) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated connection established!
Generate log files (required)
~/.vimrc
or~/.config/nvim/init.vim
. Modify thepath if needed and generate the log file.
~/.vimrc
or~/.config/nvim/init.vim
where variables forvim-instant-markdown
defineddebug.html
cat /tmp/instant_markdown.log: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to localhost port 8090: Connection refused (node:30130) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated connection established! % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Steps to reproduce the issue (required)
Start with command you used to install
instant-markdown-d
npm -g install instant-markdown-d
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
:PlugInstall
then quit vimnvim test.md
Screen shot (if possible)
The text was updated successfully, but these errors were encountered: