pearofducks / rollup-plugin-dev

development server for rollup with additional logging and options

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

silent option should probably also hide plugin log messages also

sormy opened this issue · comments

Some plugins like rollup-plugin-progress do not play well together with rollup-plugin-dev since they are both trying to output on console. The solution could be to make silent to also hide plugin logs.

I'll look into this, thanks for reporting this and the other issue!

Does just the one console emit here cause rollup-plugin-progress to lose its mind?

I'm looking around if any other plugins try to hijack console like this - as well as what other progress-meter plugins actually do - it's a bit nutty to make it so any other plugin can't reliably log info to console. :)

Yes, probably moving console.log to another type of hook could fix the issue.

options hook is sync and is invoked first, could be a good place to output initial information

Closed in v1.1.0