Skip to content

Commit 266644d

Browse files
committed
add logging for killed proc
1 parent e92c0a4 commit 266644d

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

lib/commandExecutorBuilder.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ function buildCommandExecutor(failedByAssert, runOpts) {
5050

5151
killTooLongExecution = () => {
5252
if(+Date.now() - now > longestProcessTime) {
53+
if(debugProcess) {
54+
console.log('_______________________________________________________________ \n')
55+
console.log('Process what was started just was killed \n')
56+
console.log('Command is: ', cmd)
57+
console.log('_______________________________________________________________ \n')
58+
}
5359
clearInterval(watcher)
5460
proc.kill()
5561
resolve(cmd)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "process-rerun",
3-
"version": "0.0.8",
3+
"version": "0.0.10",
44
"bin": {
55
"protractor-rerun": "./bin/rerun"
66
},

0 commit comments

Comments
 (0)