Node Puma Dev
Quick way to add a pow proxy file
Install
npm install --save-dev node-pow
Usage
The follwing examples result in: cat ~/.puma-dev/site
outputs 3000
.
Pass name and port as arguments
'site' 3000;
Or pass an express app with title
and port
.
var app = ;app;app;if 'development' === app app;
Tests
Warning: Tests currenly run using the actual filesystem.
mocha
Todo
- change tests to use a fake filesystem
- aysnc?