Skip to content

Commit

Permalink
#96 - Added note about rollup 'watch' feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
elycruz committed Jul 21, 2022
1 parent b97c3fb commit 7f19353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Expand Up @@ -187,6 +187,7 @@ export = function plugin(options = {} as RollupPluginSassOptions): RollupPlugin
)
.then(([res, codeResult]) => {

// @todo Do we need to filter this call so it only occurs when rollup is in 'watch' mode?
res.stats.includedFiles.forEach(i => {this.addWatchFile(i)});

return {
Expand Down

0 comments on commit 7f19353

Please sign in to comment.