When using -c to change the current directory you'll often want to use a relative path for the new directory. A relative path will break loading the config file when using that in the require() line (on 246 in the original code). If instead the cwd is already read from process then you'll always get an absolute path and require() will work.
When using -c to change the current directory you'll often want to use a relative path for the new directory. A relative path will break loading the config file when using that in the require() line (on 246 in the original code). If instead the cwd is already read from process then you'll always get an absolute path and require() will work.