naught
naught copied to clipboard
allow to use main without shell script
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 ]