L
L
LCLR2018-12-23 12:11:38
proxy
LCLR, 2018-12-23 12:11:38

How to get webpack-dev-server to work properly and set proxy in browsersync?

Greetings! There are 2 questions.
1. Using webpack-dev-server, I noticed that on some projects it crashes and fills up the console

mistakes
5c1f4bc1d51a0397155956.png

2. I tried to switch to browsersync, but it did not work to configure the proxy in the same way as in webpack-dev-server.
Test project repository . Command "npm run wds" to run web-dev-server on localhost:8080, "npm run dev" to run browsersync on localhost:3000.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question