Devtools Reloader Station
Installlation
npm install -g devtools-reloader-station
Usage
# load and start server station = require 'devtools-reloader-station'stationstart# trigger tab reload stationreload 'pieces of url'
Here's how I use it in my project: https://gist.github.com/jiyinyiyong/10336012
Notice that you need devtools-reloader-crx running in Chrome to use this.
Or you may trigger reload event by yourself:
net = require 'net'pattern = 'http repo todolist'# patterns = pattern.split(' ') client = netconnect port: 8888-> clientwrite 'pattern'
The Chrome Extension will find all tabs whose urls contain the patterns and reload them.
License
MIT