mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
14 lines
295 B
JavaScript
14 lines
295 B
JavaScript
![]() |
#!/usr/bin/env node
|
||
|
var path = require("path")
|
||
|
, args = process.argv.slice(1)
|
||
|
|
||
|
var arg, base;
|
||
|
do arg = args.shift();
|
||
|
while ( arg !== __filename
|
||
|
&& (base = path.basename(arg)) !== "node-supervisor"
|
||
|
&& base !== "supervisor"
|
||
|
&& base !== "supervisor.js"
|
||
|
)
|
||
|
|
||
|
require("./supervisor").run(args)
|