thgh / rollup-plugin-scss

Rollup and compile multiple .scss, .sass and .css imports
MIT License
134 stars 47 forks source link

Feature/add watch dir option #34

Closed JimSchofield closed 4 years ago

JimSchofield commented 5 years ago

Adding an option to point to a folder to watch changes. Trying to resolve issue where @import inside of scss files don't necessarily cause rollup to watch those files.

thgh commented 4 years ago

Isn't it possible to get a list of files from node-sass and watch them automatically? stats.includedFiles from https://github.com/sass/node-sass#result-object