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.

How can I watch and compile multiple directories? #2894

@golddragon007

Description

@golddragon007

Hello,

I really thought to leave grunt and use the native command line to be able to use the built-in --watch option. But I've faced some issue. I not really fount any documentation for the command-line way.
I have the following structure:
lib/module//sass/**
lib/theme/
/sass/**
In the sass directory in the root, there are the files which include other components from subdirectories. I want to watch every file but translate only without a starting '_' into CSS. (this is normal)
However, I want to place to their own directories CSS directory.
i.e.:
lib/module/first/sass/something.scss -> lib/module/first/css/something.css
lib/module/first/sass/something2.scss -> lib/module/first/css/something2.css
lib/module/second/sass/something.scss -> lib/module/second/css/something.css
lib/theme/my_theme/sass/style.scss -> lib/theme/my_theme/css/style.css

I don't want to use grunt or gulp for this, just pure command line, so I will be able to use the --watch option. Also, I don't want to use static mapping.
Can somebody help me how can I reach this? (If possible to do it.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions