Open bugleev opened 5 years ago
This really depends on your tooling and how you're watching. From your description it sounds like your file watcher isn't noticing the change to test.sass
.
I use chokidar with rollup because it offers a few extra bells and whistles and I'm able to successfully trigger changes in the browser when I edit an import()
ed sass file.
Thanks for response. I added
watch: {
chokidar: true
}
to rollup.config.js, and installed chokidar, but that doesn't seem to have any effect. scripts are like this:
"autobuild": "rollup -c -w",
"dev": "run-p start:dev autobuild",
Can you share your approach please, which makes things work?
Started here: rollup-plugin-svelte. The problem: I have a component using svelte-preprocess-sass like this:
when contents of test.sass are changed in dev mode, styles are not updated in the browser. Although when i'm not using @import:
everything works fine. Any ideas how to resolve this?
here's rollup.config.js: