Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Duplicate script names not differentiated #364

Closed
aMoniker opened this Issue · 8 comments

4 participants

@aMoniker

starting two files named main.js in different directories with forever works fine, but forever list doesn't give any explanation as to which file is which.

It would be useful if the script column included enough preceding directory names as to be unique.

@aMoniker

Further, using forever stop main.js will stop ALL instances of main.js, regardless of the current working directory.

@dscape

@aMoniker do you have a corresponding PR? I think we would be open to merge this. :)

@aMoniker

@dscape I do not, but I am willing to look into making one this weekend :)

@dscape

Nice one :) Looking forward to it! +@indexzero

@aMoniker

A little later than I estimated, but here's that pull request.

@breck7

+1

@aMoniker

It's ready, but the pull request still needs to be approved.

@ghost

little hack for this
https://github.com/nodejitsu/forever/blob/master/lib/forever/cli.js#L126
change to
fullScript = file

and run scripts like this
forever --sourceDir $DIR start $DIR/app.js

@indexzero
Owner

Use:

  forever columns add dir
@indexzero indexzero closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.