Closed
Description
I'm using the latest version of this plugin (3.0.5) along with WebPack 4 and react-univeral-component, however whenever i try and update a chunked scss in dev file it detects the file that changed but still reloads just the main.scss file. any idea what could be causing this?
Console
[HMR] Updated modules:
process-update.js?57b3:116
[HMR] - ./app/pages/HomePage/HomePage.scss
process-update.js?57b3:121
[HMR] App is up to date.
hotModuleReplacement.js?386e:119
[HMR] css reload http://localhost:9116/static/main.css
HomePage:
import React from 'react';
import './HomePage.scss';
export default function HomePage() {
return (
<div className="home-page">
HomePage!
</div>
);
}
Application:
import React from 'react';
import { hot } from 'react-hot-loader';
import universal from 'react-universal-component';
const HomePage = universal(() => import('../../pages/HomePage/HomePage'));
export function ApplicationWrapper() {
return (
<div>
<HomePage />
</div>
);
}
export default hot(module)(ApplicationWrapper);
Metadata
Metadata
Assignees
Labels
No labels