Skip to content

Consistent watch/serve console output #3876

Open
@zachleat

Description

@zachleat
[11ty] Writing ./_site/search.json from ./search.11ty.js
[11ty] Wrote 1 file in 0.04 seconds (v3.1.2-beta.4)
[11ty] Watching…
[11ty] Server at http://localhost:8080/
[11ty] File changed: ./search.11ty.js
[11ty] Writing ./_site/search.json from ./search.11ty.js
[11ty] Wrote 1 file in 0.01 seconds (v3.1.2-beta.4)
[11ty] Watching…
[11ty] File changed: ./eleventy.config.js
[11ty] Writing ./_site/search.json from ./search.11ty.js
[11ty] Wrote 1 file in 0.01 seconds (v3.1.2-beta.4)
[11ty] Watching…

Notice that the server is still running and doesn’t repeat. The watcher still runs but does repeat log output.

Propose:

  • Add log output for shutting down Server and Watcher to see when they’re closed (mostly on SIGINT)
  • Remove Watching… output on config reset builds (we don’t need to be reminded)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions