Failed to view request logs in webpack-dev server

I use webpack-dev-server to act as a CDN server locally to serve various static assets like css, js, html, etc.

Everything works fine, but for debugging purposes I can’t see the requests received by the CDN server.

webpack-dev-server just goes blank and does not display information / errors after it compiled a package of static assets.

I also went through the command line, but without success.

+6
source share
1 answer

, webpack-dev-server express -. , DEBUG,

export DEBUG='express:*'

, webpack-dev-server

+14

Source: https://habr.com/ru/post/1014359/


All Articles