Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: metalsmith.run() getter #401

Open
webketje opened this issue Jan 24, 2024 · 1 comment
Open

Feature: metalsmith.run() getter #401

webketje opened this issue Jan 24, 2024 · 1 comment

Comments

@webketje
Copy link
Member

The proposal is to add a parameterless signature to metalsmith.run() so that it functions much like metalsmith.metadata() and metalsmith.ignore().

The method would return a new (read-only) object of type Metalsmith.Run (in TS-land).
The object would hold info like duration,start,end, error and would be particularly useful for logging statistics in watch mode.The affordance added by this feature somewhat overlaps with #392

@webketje
Copy link
Member Author

webketje commented Feb 7, 2024

This need may be better addressed by metalsmith core debug logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant