I have two files in assets/css
namely main.scss
and _custom.scss
. The main.scss
will import _custom.scss
and ~bootstrap/scss/bootstrap.scss
(bootstrapv4). The _custom.scss
have some customized bootstrap variables.
In the nuxt.config.js
, I can just import ${__dirname}/assets/scss/main.scss
to include a customized bootstrap4 globally.
But when I change the variable defined in _custom.scss
, the page doesn't automatically reload. May I know how to make it hot reload when changing _custom.scss
file?
I'm on nuxt@1.0.0-alpha2