2

This question already has an answer here:

Editing html is good but I really would like to have a way of fast previewing the changes that I made. Is there e.g. a script to open Chromium or refresh a site for that?

marked as duplicate by JeanPierre, Stefan, Drew, zck, erikstokes May 1 '17 at 0:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Look for impatient-mode – Dan Apr 27 '17 at 19:30
3

You have some options: http://wikemacs.org/wiki/Markdown#Impatient-mode the best for html looking to be impatient-mode, it allows to see the changes in your browser while you type.

After intsallation (in melpa) it is just a matter of

M-x httpd-start

and

M-x impatient-mode

and then open your browser to http://localhost:8080/imp/

1

You have many options depending on tools you use and setup you want. The first one does not need anything to be installed:

  1. M-x browse-url-of-buffer
  2. https://github.com/skeeto/skewer-mode
  3. https://github.com/skeeto/impatient-mode
  4. https://github.com/yukihr/Warp

Not the answer you're looking for? Browse other questions tagged or ask your own question.