From f9276ae6ba0e486c7afec89ca23853ff342ce378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20del=20R=C3=ADo=20Santiago?= Date: Mon, 20 Mar 2017 19:47:54 -0600 Subject: [PATCH] Add dir column by default on "forever list" 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. --- lib/forever.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/forever.js b/lib/forever.js index a44aa03b..3a605225 100755 --- a/lib/forever.js +++ b/lib/forever.js @@ -305,7 +305,7 @@ forever.load = function (options) { options.columns = options.columns || forever.config.get('columns'); if (!options.columns) { options.columns = [ - 'uid', 'command', 'script', 'forever', 'pid', 'id', 'logfile', 'uptime' + 'uid', 'command', 'dir', 'script', 'forever', 'pid', 'id', 'logfile', 'uptime' ]; }