Skip to content

'script' field is optional if 'options.command' is defined#73

Closed
piranna wants to merge 4 commits intoforeversd:masterfrom
piranna:master
Closed

'script' field is optional if 'options.command' is defined#73
piranna wants to merge 4 commits intoforeversd:masterfrom
piranna:master

Conversation

@piranna
Copy link
Copy Markdown

@piranna piranna commented Sep 5, 2014

If an 'options.command' is set, this allow to don't put anything on the 'script' field of Monitor constructor, only the options bag. Also it has some clean-ups.

@piranna
Copy link
Copy Markdown
Author

piranna commented Sep 5, 2014

Tests are giving some random errors unrelated with this issue, in my machine with node v0.10.35 there's a "callback not fired" error in "When using forever-monitor attempting to start a script that doesn't exist", while in Travis that Node.js version works but it fails with Node.js 0.8 with a "log files should not be truncated" erron in "When using the logger plugin with custom log files and the append option set".

@indexzero
Copy link
Copy Markdown
Member

This was superceded by #70.

@indexzero indexzero closed this Nov 3, 2014
@piranna
Copy link
Copy Markdown
Author

piranna commented Nov 5, 2014

@indexzero, how it's supposed #70 superceded this? I've reviewed both codes and don't see any relationship with their purposses...

@indexzero
Copy link
Copy Markdown
Member

You are messing with logic that was heavily modified by #70. If you'd like to resubmit branched off master that'd be fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants