Extensions inspire

Node Reload

4.5

Details

Author:
Temo

Category:
Developer Tools

Version:
1.1

Users:
353

Rating:
4.5

Size:
67.65KiB

Price:
Free

Updated:
September 08, 2012

Webstore Link:
https://chrome.google.com/webstore/detail/node-reload/ndpddjcooiijpfkehgiiimmecodhnege

Developer's site:
http://temog.info

Download

version 1.1  - Download ZIP file

Description

1. Save the file with vim
2. Automatically update the browser

───────────────────────────────
Install Manual
───────────────────────────────
[Japanese]
http://temog.info/archives/programming/vim-node-js-chrome-extension.html

[English]
1. vim setting

added to vimrc. replace example.com
-----------------------------------
let wgetstr = "!wget -q --spider \"http://example.com:8000/?path=" . expand("%:p:h") . "\""
autocmd BufWritePost *.php,*.css silent exe wgetstr
----------------------------------

install node.js + express + socket.io to vps
----------------------------------
yum install -y openssl-devel gcc-c++
wget http://nodejs.org/dist/v0.8.8/node-v0.8.8.tar.gz
tar zxvf node-v0.8.8.tar.gz
cd node-v0.8.8
./configure
make
sudo make install

mkdir -p ~/node/node-reload
cd ~/node/node-reload

sudo npm install -g forever
sudo npm install express
sudo npm install socket.io
sudo npm install socket.io-client
sudo npm install ejs
express -e
----------------------------------

edit app.js file
----------------------------------
#before
app.set('port', process.env.PORT || 3000);

#after
app.set('port', process.env.PORT || 8000);
----------------------------------

edit routes/index.js file
----------------------------------
# replace a file with git.hub
https://raw.github.com/temog/node-reload/master/node/routes/index.js

# replace example.com
var csocket = client.connect('http://example.com:8001');
----------------------------------

start the server with forever
----------------------------------
forever start app.js
----------------------------------

install chrome extension.
after installation, enter the URL of the websocket.
----------------------------------
# replace example.com
http://example.com:8001
----------------------------------

Installation complete.
Automatic Updates will begin to check the path from the popup of Extension after you save the file in vim

Top Extensions

 
(10943)
 
(50577)
 
(98995)
 
(25231)
 
(8324)
 
(1434)
 
(11367)

What has inspired us?

Extore is a team of professionals who are passionate about creating extensions for web browsers. This devotion also gives us opportunity to appreciate work of other people. We get inspired by useful, open source extensions made by developers all over the world. Our strong belief is that one should share helpful add-ons with others. That’s why we’d like to present you our ever-growing list of favourite extensions that have inspired us. Moreover, as you probably have already learned, sometimes struggling for the best brings an end to the good. Talking about add-ons it often turns out that an upgrade is worse then previous version. Also it can become really tricky to get back to the beloved version of your favourite extension. That’s why we’re going to make not only the latest, but all versions of our favourite (and we hope yours too) add-ons available for download. No more compromises, just stick to the version you really like!