#! /usr/bin/env node

var sys = require('sys');

var path = require('./lib/utils').path;

require.paths.push(path.base(__filename)+'/..');

var BomberServer = require('./lib/server').Server;

var config = {
  port: 8000,
  requestWaitForData: true
};

var folder = process.ARGV[2] || '.'; //if a folder wasn't specified, look in the current directory

var bs = new BomberServer(folder, config);
//sys.puts(sys.inspect(bs));
bs.start();

@@ -83,16 +83,208 @@
 .path;%0A%0A
+// apps depend on bomber being on the path%0Atry %7B%0A  var BomberServer = require('bomber/lib/server').Server;%0A%7D%0Acatch(err) %7B%0A  if( err.message == %22Cannot find module 'bomber/lib/server'%22 ) %7B%0A    
 require.
@@ -320,25 +320,28 @@
 me)+'/..');%0A
-%0A
+    
 var BomberSe
@@ -379,16 +379,23 @@
 Server;%0A
+  %7D%0A%7D%0A%0A
 %0Avar con

Make adding bomber to the path more intelligent