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

Attach stats to data object #428

Open
mattidupre opened this issue Jan 17, 2016 · 1 comment · May be fixed by #808
Open

Attach stats to data object #428

mattidupre opened this issue Jan 17, 2016 · 1 comment · May be fixed by #808

Comments

@mattidupre
Copy link

First brought up in #279, it would be useful having access to the stats object from node-sass.

My use case: I frequently include scss files from node_modules via npm link. If I'm working on those particular modules I have to either manually declare their respective paths to gulp.watch, watch the entire node_modules directory, or trigger my builds manually. I would like to be able to just pull those files from the data object and add them to my watch list downstream.

Actually, as I'm writing this I realize I could limit my recursion in my watch task. I would still rather not worry about the performance hit. If I'm missing something else though I'm open to alternatives.

Edit: Sorry, just realizing that #279 became that very issue. Should have just commented there. Apologies.

@mattidupre
Copy link
Author

mattidupre commented Dec 29, 2016

Just bumped into this issue again and realized it has not been implemented.

WraithKenny added a commit to WraithKenny/gulp-sass that referenced this issue Jul 21, 2021
The `stats` object that's returned from the sass compiler contains some interesting info, particularly `includedFiles` which can be used to develop smarter watchers. Related to dlmanning#279, fixed dlmanning#428
@WraithKenny WraithKenny linked a pull request Jul 21, 2021 that will close this issue
niksy pushed a commit to niksy/gulp-sass that referenced this issue Jan 24, 2022
The `stats` object that's returned from the sass compiler contains some interesting info, particularly `includedFiles` which can be used to develop smarter watchers. Related to dlmanning#279, fixed dlmanning#428
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 a pull request may close this issue.

1 participant