#!/usr/bin/env node --harmony
var path = require( "path" );
var dir = path.basename( __dirname ); // directory this file is in

require( "babel-register" )( {
	ignore: false,
	only: new RegExp( path.join( dir, "src" ) )
} );
require( "./src/index.js" );

#!/usr/bin/env node

require( "babel-register" )( {
	ignore: false,
	only: /src/
} );
require( "./src/index.js" );

Fix windows babel path bug
Fix windows babel path bug
