mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-01 07:45:22 +03:00
Improve dev server start message and show it after initial setup.
This commit is contained in:
parent
d052049212
commit
8e17ba2787
@ -50,6 +50,11 @@ async function start(options) {
|
||||
.catch(() => {
|
||||
elmMakeRunning = false;
|
||||
});
|
||||
console.log(
|
||||
`${kleur.dim(`elm-pages dev server running at`)} ${kleur.green(
|
||||
`<http://localhost:${port}>`
|
||||
)}`
|
||||
);
|
||||
}
|
||||
|
||||
setup();
|
||||
@ -100,8 +105,6 @@ async function start(options) {
|
||||
}
|
||||
}
|
||||
|
||||
console.log(`elm-pages dev server running at http://localhost:${port}`);
|
||||
|
||||
watcher.on("all", async function (eventName, pathThatChanged) {
|
||||
console.log({ pathThatChanged });
|
||||
if (pathThatChanged === "elm.json") {
|
||||
|
Loading…
Reference in New Issue
Block a user