Skip to content
This repository was archived by the owner on Mar 26, 2018. It is now read-only.
This repository was archived by the owner on Mar 26, 2018. It is now read-only.

Gulp watch does not rebuild Sass when imported file changes #1358

Open
@leonardoarroyo

Description

@leonardoarroyo

Whenever a file changes, it calls the "style" pipeline.

$.watch(paths.styles)
    .pipe($.plumber())
    .pipe(styles())
    .pipe($.connect.reload());

However, if this is a imported file, the path passed to the line will be the file path, and not the main scss file which imports it, requiring me to save the main file to reload the css.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions