Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
chrome-reload-page.el
reload.py

README.md

Inspired by gc-refresh-mode this is an example of how to use the Chrome debugging protocol to refresh the browser when C-x C-s is typed in emacs.

It uses a small elisp portion of code and a python script that already embeds the max-weller's fork of the python library chrome_remote_shell.

Installation

  • Download this folder to your ~/emacs.d directory
  • Give execution privileges to the script chmod u+x ~/.emacs.d/chrome-reload-page/reload.py
  • Install python websocket-client library (sudo pip install websocket-cliente)
  • Add to .emacs
(add-to-list 'load-path (expand-file-name "~/.emacs.d/chrome-reload-page"))
(require 'chrome-reload-page)

Usage

  • Type M-x chrome-reload-page
  • Type the url (file:/// is a valid scheme)