File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ var Liftoff = require('liftoff');
66var Hacker = new Liftoff ( {
77 localDeps : [ 'hacker' ] ,
88 configName : 'hackerfile' ,
9+ processTitle : 'hacker' ,
910 cwdOpt : 'cwd' ,
1011 requireOpt : 'require'
1112} ) . on ( 'require' , function ( name , module ) {
@@ -14,8 +15,9 @@ var Hacker = new Liftoff({
1415 }
1516} ) . on ( 'requireFail' , function ( name , err ) {
1617 console . log ( 'Unable to load:' , name , err ) ;
17- } ) . on ( 'run' , function ( ) {
18+ } ) ;
1819
20+ Hacker . launch ( function ( ) {
1921 if ( this . args . verbose ) {
2022 console . log ( 'CLI OPTIONS:' , this . args ) ;
2123 console . log ( 'CWD:' , this . cwd ) ;
@@ -32,9 +34,8 @@ var Hacker = new Liftoff({
3234 if ( this . configPath ) {
3335 process . chdir ( this . configBase ) ;
3436 require ( this . configPath ) ;
37+ console . log ( this ) ;
3538 } else {
3639 console . log ( 'No Hackfile found.' ) ;
3740 }
3841} ) ;
39-
40- Hacker . launch ( ) ;
You can’t perform that action at this time.
0 commit comments