-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
1.0.2 need to save SASS file two times in order to get rid of errors #194
Comments
Update: once I remove |
Test again when I change back this line back to the old version that would work: v1.0.0...master#diff-195523ef24b1bd918b6f5644d00b5b55L24 From I think should be the first one because during local development, I don't think there is any CSS file that would be in the output folder. |
@weilinzung could provide a repository for reproduction? |
@ricardogobbosouza sorry, it is an internal project that I don't have it in the public. For now, I just use the old version. Just wondering why to change the hooks to |
@weilinzung I understand, if you can provide a demo repository with this error, I appreciate. |
@ricardogobbosouza I will try to create a demo, but I need a bit of time. thank you for looking into it. |
@ricardogobbosouza Sorry for the delay, seems you fix this. When would this release? |
@weilinzung I will release soon |
@weilinzung released v1.0.4 |
@ricardogobbosouza amazing! I would test now! |
@ricardogobbosouza I think this issue comes back again with Not sure what actually changes from 1.0.4 to 1.1.2,
|
Hi @weilinzung |
@ricardogobbosouza I still not have it, but here is my setup. I try something else by removing the
|
Try this @weilinzung new StylelintPlugin({
emitWarning: true,
configFile: `stylelintrc.js`,
syntax: 'scss',
files: './src/**/*.s?(a|c)ss'
}),
.... Use |
@ricardogobbosouza thank you, but that does not work for me, but remove option plugin |
Expected Behavior
I am using
webpack-dev-serve
,new webpack.NoEmitOnErrorsPlugin()
&sass-loader
with this plugin, onv0.10.5
everything works fine.I just save one time of the file after I fix the SASS that errors would be gone.
Actual Behavior
When I update to
v1.0.2
, every time when an SCSS file has errors, I have to save the file 2 times in order to make the error go away. Basically, the error logs are duplicated for the first time and the second time.first time log from -> sass-loder
second time log from -> stylelint-webpack-plugin
Code
Here is my setup:
How Do We Reproduce?
Run
stylelint-webpack-plugin
usingwebpack-dev-server
in watch mode.Question, what changes on
failOnError
&emitErrors
from the last two releases?Thank you!
The text was updated successfully, but these errors were encountered: