Permalink
Browse files

added eyes

  • Loading branch information...
1 parent 37947ec commit 279c3de717500151ef3ac25f568d26804c94ef4d @oierbravo committed Jan 24, 2013
Showing with 9 additions and 6 deletions.
  1. +6 −4 bin/noscaine
  2. +3 −2 package.json
View
@@ -4,8 +4,10 @@
* Module dependencies.
*/
-var program = require('commander');
-var osc = require('omgosc');
+var program = require('commander'),
+ osc = require('omgosc'),
+ inspect = require('eyes').inspector();
+
program
.version('0.0.1')
@@ -16,8 +18,8 @@ program
var oscSniffer = new osc.UdpReceiver(program.port,program.host);
oscSniffer.on('',gotMessage);
-console.log('OSC Sniffer started on %s:%d', program.host,program.port);
+inspect('OSC Sniffer started on ' + program.host + ':' + program.port);
function gotMessage(message){
- console.log(message);
+ inspect(message);
}
View
@@ -2,7 +2,7 @@
{
"name": "noscaine",
"description": "Node OSC Sniffer",
- "version": "0.0.1",
+ "version": "0.0.2",
"homepage": "https://github.com/oierbravo/nOSCaine",
"repository": {
@@ -16,7 +16,8 @@
},
"dependencies": {
"omgosc": "*",
- "commander": "*"
+ "commander": "*",
+ "eyes": "*"
},
"bin": { "noscaine": "./bin/noscaine" },

0 comments on commit 279c3de

Please sign in to comment.