-
-
Notifications
You must be signed in to change notification settings - Fork 207
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
[svelte-check] cannot force color output #2662
Comments
The colouring of the error message for the Sass compiler comes directly from the Sass compiler. So it's out of svelte-check's control. I did some digging and it seems like sass only supports |
Thanks for the response,
All the more reason to add |
Hmm. It works for me in an empty Sveltekit project. Maybe it has something to do with your preprocess setup. Can you provide a reproduction repository? Maybe the Sass compiler is executed in another child process or something. But if that is the case, we can't pass down the |
Sorry for the slow response, but to summarize:
|
I mentioned sass-embedded because it is the modern alternative to sass. So if sass-embedded could work then the problem is solved. The reason why I asked for a reproduction is that if the problem is your preprocess config runs sass in another thread/child process. Then there is nothing we can do. Supporting I think it's ok to have the |
Describe the bug
Hi, I am running svelte-check with
npm-run-all
with output aggregation. This normally removes color support (as it probably should), but I would like to force svelte-check to output colors...Reproduction
Expected behaviour
I'd expect the following to be the same:
npm run lint:svelte-check
:npm run lint
:System Info
Which package is the issue about?
svelte-check
Additional Information, eg. Screenshots
I also tried
FORCE_COLOR=1
, but that gives an in-between result with some colors. I think it's great to support thing likeNO_COLOR
, but my suggestion would be to add--color
that enables colored output as well.FORCE_COLOR=1 npm run lint
:The text was updated successfully, but these errors were encountered: