Skip to content

Commit

Permalink
fix: restore no_interaction for pm2-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Jul 9, 2018
1 parent 8de987a commit 902e5a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ Client.prototype.launchDaemon = function(opts, cb) {
if (opts && opts.interactor == false)
return cb(null, child);

if (process.env.PM2_NO_INTERACTION == 'true')
return cb(null, child);

/**
* Here the Keymetrics agent is launched automaticcaly if
* it has been already configured before (via pm2 link)
Expand Down

0 comments on commit 902e5a5

Please sign in to comment.