barely-a-dev-server
Advanced tools
Comparing version 0.4.1 to 0.4.2
{ | ||
"name": "barely-a-dev-server", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -38,3 +38,2 @@ import { cp, rm } from "node:fs/promises"; | ||
await waitFor; | ||
return; | ||
} |
@@ -34,5 +34,7 @@ import { readFile } from "node:fs/promises"; | ||
createServer(this.onRequest.bind(this)).listen(this.port); | ||
console.log( | ||
`Server running at http://${this.devDomain ?? "localhost"}:${this.port}/`, | ||
); | ||
const message = `🌐 Server running at ${this.devDomain ?? "localhost"}:${ | ||
this.port | ||
}/`; | ||
const dashes = new Array(message.length + 1).fill("-").join(""); | ||
console.log(dashes + "\n" + message + "\n" + dashes); | ||
} | ||
@@ -39,0 +41,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13295
196