Comparing version 0.2.4 to 0.3.0
{ | ||
"name": "grunt-run", | ||
"description": "Invite external commands into your grunt process with three tasks `run`, `wait` and `stop`.", | ||
"version": "0.2.4", | ||
"version": "0.3.0", | ||
"homepage": "https://github.com/spenceralger/grunt-run", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -64,2 +64,6 @@ /* | ||
if (opts.env) { | ||
spawnOpts.env = opts.env; | ||
} | ||
var pid = getPid(name); | ||
@@ -159,3 +163,3 @@ if (pid && _.find(runningProcs, { pid: pid })) { | ||
} | ||
done(!exitCode); | ||
done(exitCode && new Error('non-zero exit code ' + exitCode)); | ||
}); | ||
@@ -182,3 +186,3 @@ } else { | ||
'(only works for tasks that use wait:false)', function () { | ||
var pid = this.data._pid; | ||
@@ -193,3 +197,3 @@ var name = this.target; | ||
grunt.log.ok(name + ' already stopped'); | ||
} | ||
} | ||
}); | ||
@@ -196,0 +200,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14279
9
211