File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ function reRunnerBuilder(runOptions) {
1616 everyCycleCallback,
1717 specsDir,
1818 longestProcessTime,
19+ spawn,
1920 formCommanWithOption : addSpecificOptionsBeforeRun ,
2021 currentExecutionVariable
2122 } = runOptions
@@ -29,6 +30,7 @@ function reRunnerBuilder(runOptions) {
2930 */
3031
3132 const executeCommandAsync = buildCommandExecutor ( failedByAssert , {
33+ spawn,
3234 addSpecificOptionsBeforeRun,
3335 currentExecutionVariable,
3436 longestProcessTime,
@@ -123,7 +125,8 @@ module.exports = {
123125 debugProcess = false ,
124126 formCommanWithOption,
125127 pollTime = 1000 ,
126- currentExecutionVariable
128+ currentExecutionVariable,
129+ spawn = false
127130 } = { } ) => {
128131
129132 const reformattedArgs = {
@@ -135,6 +138,7 @@ module.exports = {
135138 reformatCommand,
136139 stackAnalize,
137140 grepWord,
141+ spawn,
138142 currentExecutionVariable,
139143 everyCycleCallback,
140144 intervalPoll : getPollTime ( pollTime )
Original file line number Diff line number Diff line change 11{
22 "name" : " process-rerun" ,
3- "version" : " 0.0.10" ,
3+ "version" : " 0.0.10-a " ,
44 "bin" : {
55 "protractor-rerun" : " ./bin/rerun"
66 },
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ What is the problem ?
22When some process failed we need tool for rerun that process controled times with some params.
33In common cases we use protractor so next example for protractor
44
5+ ![ npm downloads] ( https://img.shields.io/npm/dm/process-rerun.svg?style=flat-square )
6+
57# From command line
68``` sh
79./node_modules/.bin/process-rerun --protractor --configPath=./protractor.conf.js --specDir=./specs
You can’t perform that action at this time.
0 commit comments