Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

Not formatting webpack-dev-server start-up? #48

Closed
alexandernanberg opened this issue Apr 26, 2017 · 7 comments
Closed

Not formatting webpack-dev-server start-up? #48

alexandernanberg opened this issue Apr 26, 2017 · 7 comments

Comments

@alexandernanberg
Copy link

With my current set-up the start-up process with webpack-dev-server is not formatted like in your demos instead it looks like this

image

My webpack config

Have I configured it wrong or is it a bug? Would love for it to work like in the demos! 😄

@IgnusG
Copy link

IgnusG commented May 3, 2017

I have exactly the same problem: Running webpack 2.4.1 & webpack-dev-server 2.4.5

@geowarin
Copy link
Owner

Hello gentlemen!

Did you expect to see the screen get cleared just before the DONE notification?
Does it get cleared correctly on subsequent messages?

@alexandernanberg
Copy link
Author

I was expecting to see something similar to this

demo

The screen clears as expected but I'm not seeing the "Starting the development server..." text. Also not seeing the "Your application is accessible at http://localhost:3000"

@geowarin
Copy link
Owner

That's normal, the plugin has no easy means to know on which port the server is available.
You should manually add the compilationSuccessInfo for this to work

@alexandernanberg
Copy link
Author

Ah so that message will be displayed every time it compiles successfully then? Thought it only displayed on start up/first compilation.

What about the "Starting development server..." log, similar issue?

@geowarin
Copy link
Owner

geowarin commented May 24, 2017

Yes, it is displayed every time the compilation succeeds.
Originally, we cleared the console for good so it was useful to have those info available every time.

Since #23, it's debatable.
I don't think "Starting development server..." is part of the plugin output.

@alexandernanberg
Copy link
Author

Oh okay! Closing this then, thanks for your response!

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

No branches or pull requests

3 participants