Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all imported SASS files to the "watch" list #96

Merged
merged 1 commit into from Jul 20, 2022
Merged

Add all imported SASS files to the "watch" list #96

merged 1 commit into from Jul 20, 2022

Conversation

xenobytezero
Copy link
Contributor

One of the missing features for this plugin was that any files imported by the target file were not watched by Rollup, and so it wasn't particularly useful when running Rollup in --watch mode.

This PR adds all of a files includedFiles returned after a render to the Rollup watch list this.addWatchFile()

* After every file render, grab all the includedFiles and add them all to the rollup watch list.
Copy link
Owner

@elycruz elycruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Merging.

Copy link
Owner

@elycruz elycruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xenobytezero Hey, could you add missing semicolons (thanks) Nevermind @xenobytezero , I'll add them 👍🏽

@elycruz elycruz merged commit 995ab29 into elycruz:master Jul 20, 2022
elycruz added a commit that referenced this pull request Jul 20, 2022
- Rebuilt artifacts.
@elycruz
Copy link
Owner

elycruz commented Jul 20, 2022

Feature to be published by EOD 07/21.

@xenobytezero
Copy link
Contributor Author

Awesome, thanks!

@elycruz
Copy link
Owner

elycruz commented Jul 20, 2022

Yeah, not a prob (👍🏽 ).

elycruz added a commit that referenced this pull request Jul 21, 2022
@xenobytezero xenobytezero deleted the feature/watch-dependencies branch July 22, 2022 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants