Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Watch flag is watching for changes to .css #1933

@bsuresh

Description

@bsuresh

I got a project where I am using -wr to watch directory recursively for changes and I got some css files in the same folder.

Whenever the css file is changed, it triggers Sass compilation, although none of Sass file has been changed. Css file is not imported/related to Sass files, it is completely independent.

I can see from the below commit it includes file extension of '*.css' to the watch option.

[https://github.com//issues/1075]|(#1075)

Not sure if this is an bug or intended behaviour.

Npm: 3.10.10
Node: v6.10.1
Node Process: { http_parser: '2.7.0',
node: '6.10.1',
v8: '5.1.281.95',
uv: '1.9.1',
zlib: '1.2.8',
ares: '1.10.1-DEV',
icu: '58.2',
modules: '48',
openssl: '1.0.2k' }
Node Process Platform: darwin
Node architecture: x64
node-sass version: node-sass 4.5.1 (Wrapper) [JavaScript]
libsass 3.5.0.beta.2 (Sass Compiler) [C/C++]
npm node-sass versions: [email protected]

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