Skip to content

Logging for Site operations #133

@nicholaschuayunzhi

Description

@nicholaschuayunzhi

Found this as a todo in Site.js in markbind-cli

https://github.com/MarkBind/markbind-cli/blob/25b595df8e91ac97f626004f1d9b770dca4adf2a/lib/Site.js#L80-L86

Just collating all the required operations to be logged for user feedback. A loading bar of sorts would be helpful as well.

Logging Information

Build

  • build start
  • build info
    1. collect baseUrl
    2. build assets
    3. build source files
      • generate pages
    4. copy markbind asset
  • build end + timing (speed)

Live Reload

  • live reload start
  • reload info
    • number of pages rebuilt
  • live reload end + timing + ready to inspect changes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions