-
Notifications
You must be signed in to change notification settings - Fork 57
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
I couldn't get Skewer-HTML do the same as impatient-mode. #58
Comments
@skeeto I wonder if there might be any update on this thing? And I appreciate all your work that's done, by the way. |
It's not documented properly, but skewer-load-buffer only works for Skewer isn't really intended for automatic interactive use, in part Finally, if you want to check if the page is properly connected as a |
Thanks for your well written reply, I appreciate it.
Clear enough. But why am I able to edit the contents of the body-tag, and see them replaced in the browser with And there is a reason why I couldn't use Impatient mode. See also this issue for explaination. |
impatient-mode works by refreshing the entire page on each update. This If I understand you correctly, you want to visit an arbitrary page on |
Thanks for your clear answer. I will figure it out tommorow on my work, and update it to you. Not related to this issue by the way, but this seems also interesting for you, in the line with impatient-mode and skewer. |
With the But nothing happens. I found nothing in the documentation about this. The page that I'm testing is running on a XAMPP stack. |
As a caveat, it doesn't actually include the tags of the selected |
Thanks for sharing this package, your work is really appreciated. I loved the
impatient mode
. It remembers me sort of Browserlink for Vim.Around half year ago, I couldn't get Skewer working so I gave it up. When I tried
impatient-mode
, I thought I needed to develop a package, so I asked some questions about the structure in this topic.However, someone attended me on
skewer-mode
, so I decided to give a second try. But I couldn't get it working again. I decided to open a issue, even when I'm not sure if it's related to Skewer or me.So could you perhaps tell me what I'm missing yet?
Setup:
GUI version GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) of 2015-07-25 on KAEL
Compiled from wemacs-w64.
skewer-mode, using the latest version of skewer-mode from MELPA
Windows 7 x64 bit.
Actions:
I create a page, called
foobar.html
. Theweb-mode
is the major mode for that buffer. In the browser I see the pagefoobar.html
inside the environmenthttp://intranet-development/app/foobar.html.
When I change something in buffer
foobar.html
, save it, then refresh the browser, I see the changes.I would like to make it interactively.
In the buffer
foobar.html
. I press M-xhttpd-start
.Then I check the values of
httpd-port
with C-h v. The values are8080
. Then I call M-xskewer-mode
.When I open in the browser the following URI: http://localhost:8080/skewer, then I see javascript code from Skewer, version 1.4. So the HTTP-server with skewer seems working.
I paste in
foobar.html
the following code:I save
foobar.html
, and reload the browser. I see the sentenceTesting 123
in my browser. When checking the source code, I see the script source of skewer. When clicking, I see the javascript for Skewer.skewer-html-mode
. And it's enabled in the buffer offoobar.html
.Testing 123
toTest 1
, I callskewer-load-buffer
, but I don't see anything changed in my browser. I called every skewer function, but without any result. When I press f12 inside Chrome, I type in the consoleskewer();
. But I get the messageundefined
.So I guess I could paste the content of
/skewer
javascript intoBut I'm not sure about that, because I don't understand what went wrong here. I would like to have the same functionality from Impatient mode, see changes that you type in your buffer directly in your browser, but now on another server than the localhost:8080.
I guess Skewer is able to do that, but I couldn't figure out how get working. Which commands or actions do I need yet to make it 'live' as in
impatient-mode
? By the way, I really appreciate all the work you did for the community. I enjoyed your auto-tetris mode. 👍The text was updated successfully, but these errors were encountered: