"--hot:" breaks bundle assembling
See original GitHub issueHot modules reloading mixes up module ids for some reason. The code I get in the bundle.js is the following:
    // load the styles
    var content = __webpack_require__(301);
    if(typeof content === 'string') content = [[module.id, content, '']];
    // add the styles to the DOM
    var update = __webpack_require__(303)(content, {});
    if(content.locals) module.exports = content.locals;
    // Hot Module Replacement
    if(true) {
        // When the styles change, update the <style> tags
        if(!content.locals) {
            module.hot.accept(301301, function() {
                var newContent = __webpack_require__(301);
Obviously I don’t have 301301 modules. The issue gets much worse with config.output.pathinfo = true. The code becomes broken:
// bundle.js:10086 Uncaught SyntaxError: missing ) after argument list
module.hot.accept(/*! !./../css-loader!./angular-material.css */ 301/*! !./../css-loader!./angular-material.css */ 301, function() {
My command line to start is: node node_modules/.bin/webpack-dev-server --content-base app --hot --port 9090
A part of package.json:
    "webpack": "1.13.1",
    "webpack-dev-server": "1.14.1"
If any additional information is required please don’t hesitate to ping me.
Issue Analytics
- State:
 - Created 7 years ago
 - Comments:5 (3 by maintainers)
 
Top Results From Across the Web
Slice Engineering C-E Copperhead Heat Break Installation on ...
Step by step guide to installing the Slice Engineering bi-metal Copperhead heat break.New to the channel? Please consider subscribing ...
Read more >Copperhead™ parts for assembling the new hotend from Slice ...
Copperhead™ hot-end elements to assemble the new elevated, optimized and adaptive ... Copperhead™ Heat Sinks are compatible with Standard Heat Break only!
Read more >Breakbeats - Rhythm Lab | Free Wav Samples, Loops, Breaks ...
Here is my collection of vintage funk/soul breakbeats. All loops in wav quality (and not converted from mp3). Every break manually sliced (rex2), ......
Read more >Creality Hot End Repair and Parts Guide for Ender 3, CR-10 ...
Follow steps 1-4 in the Hot End Assembly replacement guide to remove the existing hot end. Unscrew and detach the hot end cable...
Read more >Drum Breaks: A Guide To Injecting Character into Your Music
A drum break is a short instrumental (often percussive) section of a song, aimed at building anticipation. It can also function as a ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Don’t use
--hotand theHotModuleReplacmentPlugin.@wips, this is documented in the docs, but I agree with you that it is still a bit too hard. I made #586 for this.