mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-22 08:07:30 +00:00
Clean up console output
This commit is contained in:
parent
72c8a9dca6
commit
bec1b9d207
@ -29,5 +29,7 @@ function customWriter(output) {
|
||||
return output
|
||||
}
|
||||
|
||||
console.log("REPL started")
|
||||
setTimeout(() => {
|
||||
console.log("[.] REPL started")
|
||||
repl.start({prompt: "b) ", eval: customEval, writer: customWriter}).once("exit", () => process.exit())
|
||||
}, 2000) // wait for pinski to initialise. TODO: do this properly
|
||||
|
@ -54,7 +54,7 @@ subdirs("pug", async (err, dirs) => {
|
||||
|
||||
Object.assign(passthrough, pinski.getExports())
|
||||
|
||||
console.log("Server started")
|
||||
console.log("[.] Server started")
|
||||
|
||||
if (process.stdin.isTTY || process.argv.includes("--enable-repl")) {
|
||||
require("./repl")
|
||||
|
Loading…
Reference in New Issue
Block a user