sass/dart-sass

Support compiling the same source to multiple destinations

Open

#981 aberto em 5 de mar. de 2020

Ver no GitHub
 (1 comment) (3 reactions) (0 assignees)Dart (376 forks)batch import
CLIenhancementhelp wanted

Métricas do repositório

Stars
 (4.192 stars)
Métricas de merge de PR
 (Mesclagem média 8d 8h) (18 fundiu PRs em 30d)

Description

I'm using Dart Sass 1.22.12.

I'm trying to compile the same sass to multiple directories while watching them.

I have the following in my script: sass --watch sass:sv/css sass:hv/css

But it throws this error: Duplicate source "sass".

I've also tried replacing the path sass with sass/site.scss, but then it just says Duplicate source "sass/site.scss". instead.

Both paths appear to work just fine when I compile them individually, so I don't think there's something wrong with the paths it needs to be compiled to.

Is there something wrong with my script by any chance? Or is it simply not possible to compile to multiple directories with the same input?

Guia do colaborador