简体   繁体   中英

How to manually disconnect webpack dev server from chrome

Can I manually disconnect a chrome window from refreshing automatically when I change my code. Basically I want to disconnect the websocket connection using devtool or some other way. I tried offline checkbox, but its not helping.

This will come handy for a HTML developer for him to compare the HTML changes done from a developer tool and to the original one.

Right-click the WS connection in the Network panel then select Block Request URL . Based on the websocket.org echo demo , it seems to provide the effect you're looking for.

Have you tried setting the hot module reload to false? There is mention of it in the docs .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM