Add dir column by default on "forever list"#911
Open
adelriosantiago wants to merge 1 commit intoforeversd:masterfrom
Open
Add dir column by default on "forever list"#911adelriosantiago wants to merge 1 commit intoforeversd:masterfrom
adelriosantiago wants to merge 1 commit intoforeversd:masterfrom
Conversation
This adds the "dir" column by default when issuing the "forever list". It is the only field that can help the user to determine which PID is currently running but it is hidden by default! Moreover adding an UID works fine however if the UID is added to the package.json then it will be commited in GIT thus not allowing the user to know if is a dev or a prod deployment.
Author
|
Example with a common package.json: Since package.json is usually commited and the UID can't be set through an ENV variable (or I least I haven't found how) if there are two apps, dev and prod they will both share the same UID. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds the "dir" column by default when issuing the "forever list" command. It is the only field that can help the user to determine which PID is running but it is hidden by default!
I know that it is possible to add an UID, however if the UID is added to the start command in the package.json then it will be commited in GIT, thus not allowing the user to know if is a dev or a prod deployment.