naught icon indicating copy to clipboard operation
naught copied to clipboard

allow to use main without shell script

Open openhoat opened this issue 9 years ago • 0 comments

The hardcoded shebang does not allow to specify a custom version of nodejs to use. This contribution propose to separate the main shell script and the main JS script and declare the main JS script as the exposed module allowing the use of naught as a module instead of a command. [ The best would be to expose all the methods (start, stop, ...), but for my needs it's enough ]

openhoat avatar Jul 30 '16 10:07 openhoat