pm2-dev-refresh
v0.0.3
Published
(experimental) # PM2-DEV-Refresh is a extension for [PM2](https://github.com/Unitech/pm2 "PM2") , The modern and stable CLI process manager for Node apps with native clusterization, monitoring, startup scripts and much more. It will automatically refresh the browser after you save a file.
Downloads
8
Readme
Add this to your clientside template:
var socket = io.connect('http://localhost:3333'); socket.on('refresh', function(){ console.log('REFRESH!'); window.location.reload(); });