19 lines
557 B
Handlebars
19 lines
557 B
Handlebars
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const path = require("path");
|
|
const runNopeBackend = require("../../dist/lib/cli/runNopeBackend");
|
|
if (require.main === module) {
|
|
process.on("unhandledRejection", (reason, p) => {
|
|
console.log("Unhandled Rejection at: Promise", p, "reason:", reason);
|
|
console.error(reason);
|
|
throw reason;
|
|
});
|
|
runNopeBackend
|
|
.runNopeBackend({
|
|
file: path.join(__dirname, "settings.json"),
|
|
channel: "io-client",
|
|
log: "debug"
|
|
})
|
|
.catch(console.error);
|
|
}
|