menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Parcel

📦🚀 Blazing fast, zero configuration web application bundler

Channels
Team

In middleware mode bundler output to stdout clears previous log line

August 21, 2019 at 3:33pm

In middleware mode bundler output to stdout clears previous log line

August 21, 2019 at 3:33pm
Hi all-- new to Parcel and loving not having to wrestle with Webpack! I've changed my personal boilerplate over using Parcel as an express middleware. One issue I'm running into is that when a rebundle kicks off after a change to a watched file, the "Building..." text printed to stdout overwrites whatever was last printed out by my logging middleware (and I sometimes need those log messages). I tried hooking in to the buildStart event to print a newline, but it seems to fire just after the first "Building..." gets printed. Would be happy to try to find a fix for this if I'm right that this is an issue-- before I open an issue I wanted to do a sanity check here!

February 2, 2020 at 9:10pm
hey you find a solve for this? i'm searching for the same!