tugberkugurlu / gulp-dnx

Gulp plugin for ASP.NET 5
MIT License
38 stars 14 forks source link

Trying to run and its not working #24

Open jrock2004 opened 9 years ago

jrock2004 commented 9 years ago
gulp.task('dnx-run', ['run-api'], function() {                                      
  var options = {                                                                 
    restore: false,                                                             
    build: false,                                                               
    run: true,                                                                  
    cwd: './'                                                                   
  };                                                                                     
  return dnx('kestrel', options);                                                 
});                                                                                      

var apiRunning = false;                                                                                      

gulp.task('run-api', function() {                                                   
  var apiOptions = {
    restore: false,
    build: false,                                                               
    run: true,                                                                    
    cwd: '../Nimbus.Apps.Web.Api/'                                              
  };

  if (!apiRunning) {                                                              
    apiRunning = true;                                                                                                                                               
    return dnx('kestrel', apiOptions);
  }                                                                               
 });                              

I am not seeing errors in the output

$ gulp dnx-run
[20:30:29] Using gulpfile ~/Development/Work/NimbusSolution/apps/Nimbus.Apps.Web.Site/gulpfile.js
[20:30:29] Starting 'run-api'...
[20:30:29] Finished 'run-api' after 351 μs
[20:30:29] Starting 'dnx-run'...
[20:30:29] Finished 'dnx-run' after 47 μs
dimaaan commented 9 years ago

I got same bevahior