Skip to content

Attach stats to data object #428

@mattidupre

Description

@mattidupre

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions