-
Notifications
You must be signed in to change notification settings - Fork 946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sourcedir not working? #229
Comments
Agreed, logging process.cwd in my script displays "/" no matter what I pass to --sourceDir. |
The bug is in the
As you can see, |
Yep, quartzo mentioned that above. It seems the easy fix would be just moving the override up, so the command line overrides the default instead of the other way around. options.sourceDir = file && file[0] !== '/' ? process.cwd() : '/'; if (options.sourceDir) { |
- changed the --pidfile to --pidFile - changed the awk line to use the default column numbers for forever list output - fixed the inability to execute the script from outside the source directory by referencing and implementing the suggestions in this issue: foreversd#229
- changed the --pidfile to --pidFile - changed the awk line to use the default column numbers for forever list output - fixed the inability to execute the script from outside the source directory by referencing and implementing the suggestions in this issue: foreversd#229
It seems that this line from cli.js overides any command line option:
options.sourceDir = file && file[0] !== '/' ? process.cwd() : '/';
The text was updated successfully, but these errors were encountered: