Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dart-SASS CLI always compiles a file that uses a built-in module #1335

Closed
Oblomoff opened this issue May 27, 2021 · 0 comments · Fixed by #1338
Closed

Dart-SASS CLI always compiles a file that uses a built-in module #1335

Oblomoff opened this issue May 27, 2021 · 0 comments · Fixed by #1338
Assignees
Labels

Comments

@Oblomoff
Copy link

Problem

If the --update flag is specified Dart-SASS always compiles a file that uses a built-in module, ignoring the fact that the file has not been modified.

Reproduction

Create file test.scss

@use 'sass:map'; // This line causes the problem!

body {
    background-color: white;
}

run

sass --update test.scss test.css
sass --update test.scss test.css

Expected

If the --update flag is passed, Sass will only compile stylesheets whose dependencies have been modified more recently than the corresponding CSS file was generated.

Actual

Dart-SASS ignores file was not changed and compiles any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants