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

Error recovery from Sass errors #8003

Closed
slavanga opened this issue Apr 24, 2022 · 3 comments
Closed

Error recovery from Sass errors #8003

slavanga opened this issue Apr 24, 2022 · 3 comments

Comments

@slavanga
Copy link

slavanga commented Apr 24, 2022

🐛 bug report

🎛 Configuration (.babelrc, package.json, cli command)

{
  "extends": "@parcel/config-default"
}

Using @parcel/transformer-sass v2.5.0

🤔 Expected Behavior

  1. Sass error shown on console
  2. Error in Sass file fixed and saved
  3. Parcel process keeps running and compiling Sass

😯 Current Behavior

Once a Sass error is shown on the console, the build process does not recover.
Fixing the error in the Sass file does not help. The parcel process has to be restarted.

🌍 Your Environment

Software Version(s)
Parcel 2.5.0
Node 16.14.0
npm 8.7.0
Operating System Windows 10
@mischnic
Copy link
Member

Are you using @import/@use ? Do only errors in these imported files not go away or also the "root" Sass file that is imported from HTML/JS?

@slavanga
Copy link
Author

@mischnic that's right, errors in the "root" Sass file are recovered correctly. But errors in imported files result in the parcel process being stuck.

@mischnic
Copy link
Member

mischnic commented Apr 25, 2022

Duplicate of #7374, see #7374 (comment)

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

No branches or pull requests

2 participants