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.

cmd-line: Recursive option doesn't work as expected #601

@egtann

Description

@egtann

Tested with node-sass@1.2.3 and @2.0.0-beta, which both seem to have the issue.

Steps to reproduce:

$ npm install -g node-sass
$ node-sass -r app/styles OR ./app/styles OR app/styles/ OR ./app/styles/
> Error: File to read not found or unreadable: app/styles/

$ node-sass app/styles/*.scss
> Works fine

Expected behavior: I should be able to pass in a folder with the recursive option.

Edit: I see now that --recursive is just for watching files. You might consider making it apply to inputs as well, which is the expected behavior from normal cmd-line tools (cp, chmod, etc.).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions