alexisvincent/systemjs-hot-reloader

HTML / SCSS files not hot reloading, not showing under moduleRecords

tamzinselvi opened this issue · 1 comments

Hi all,

Using plugin-text & plugin-sass to load my html / scss files. Everything works great up until I try to get HMR to kick in - one key note is I've noticed these files aren't loading under moduleRecords, but they are loading under modules. Here's some relevant snippets:

config.json

...
  packages: {
    'src': {
      meta: {
        "*.html": {
          loader: "text"
        },
        "*.scss": {
          loader: "sass"
        }
      }
    }
  },
...

Inspecting System._loader.moduleRecords:

...
http://localhost:3000/src/app.component.js
http://localhost:3000/src/app.js

Inspecting System._loader.modules:

...
http://localhost:3000/src/app.component.js
http://localhost:3000/src/app.html
http://localhost:3000/src/app.js
http://localhost:3000/src/app.scss

Any ideas? I've tried every hack in every discussion around getting HMR working with text/css with no luck. Would love to help in any way. Thanks in advanced.

NVM, I'm an idiot. trace wasn't being set before original System import, so yeah... anyone else having these types of issues plz be advised that is KEY