Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Always warn on plugin skip, improve keyword msg#903

Closed
theinternetftw wants to merge 1 commit intodocpad:masterfrom
theinternetftw:better-plugin-warning
Closed

Always warn on plugin skip, improve keyword msg#903
theinternetftw wants to merge 1 commit intodocpad:masterfrom
theinternetftw:better-plugin-warning

Conversation

@theinternetftw
Copy link

It was really distressing to have docpad silently ignore a plugin after a few small changes. A plugin skip should always be overt.

I also tweaked the reason given to be a little more descriptive than "type".

@greduan
Copy link
Contributor

greduan commented Dec 20, 2014

lgtm 👍

@balupton
Copy link
Member

The reasoning why this is debug only is that if you have node dependencies used (not just docpad plugins, e.g. moment is often a dep that is bundled), then they will be outputted as skipped all the time.

Perhaps we can tweak this. What reason did DocPad say for skipping your plugin?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants