compile.js
function compile(inFile, outFile, sourceMap, cb) {
    console.log('Compiling ' + inFile + ' to ' + outFile);
    var outStream = fs.createWriteStream(outFile, 'utf8');
    outStream.on('close', cb);
    browserify({debug: true})
      .require(inFile, { entry: true })
      .bundle()
      .pipe(exorcist(sourceMap))
      .pipe(outStream);
}
function compile(inFile, outFile, sourceMap, cb) {
    console.log('Compiling ' + inFile + ' to ' + outFile);
    var outStream = fs.createWriteStream(outFile, 'utf8');
    outStream.on('close', cb);
    browserify({debug: true})
      .require(inFile, { entry: true })
      .bundle()
      .pipe(exorcist(sourceMap))
      .pipe(outStream);
}
function compile ( inFile , outFile , sourceMap , cb ) { console . log ( 'Compiling ' + inFile + ' to ' + outFile ) ; var outStream = fs . createWriteStream ( outFile , 'utf8' ) ; outStream . on ( 'close' , cb ) ; browserify ( { debug : true } ) . require ( inFile , { entry : true } ) . bundle ( ) . pipe ( exorcist ( sourceMap ) ) . pipe ( outStream ) ; }
all the functions get hoisted
all the functions get hoisted