-
Notifications
You must be signed in to change notification settings - Fork 8
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
Ignore scsslint_tmp files in sass watch? #13
Comments
Partials are still watched, just not compiled into their own separate css file. So this wouldn't fix the issue. Is there a reason these need to be created in the working directory, rather than say the system temp dir? If you use grunt you can just ignore the pattern |
This has been a source of headache for me recently (juanfran/gulp-scss-lint#36). These temp files really should be stored elsewhere. |
Having the same issue here. The scsslint_tmp-files triggers my watch-task while editing my scss-files since they appear in my working directory instead of a different folder. It's a bit annoying. Since I use grunt, It still works to exclude them from the watch-task with something like |
I've just spent an hour trying to figure out why my webpack server was reloading like crazy on each keystroke in scss files. Well, now it appears it's just scss lint that creates a temp file, triggering the server to reload. Here's a quick fix for gulp to ignore those files: // Update your watch task to exclude any scss file that
// has scsslint_tmp in the file name
gulp.watch('**/*.scss',
'!**/*scsslint_tmp*.scss']); |
I've moved the temp files to a temp directory, this should resolve this issue |
I have this problem with PHPStorm (newest version) +Gulp and get these weird tmp files for my js files. It's horrible it creates those tmp files inside source dir, and
|
I currently get a bit of extra noise using this plugin while running
sass --watch
:Unfortunately, sass doesn't appear to support explicitly ignoring files. Perhaps we can simply add an underscore before the baseName in ThreadLocalActualFile.java? Then theoretically the scsslint_tmp files would be ignored as a partial.
I would try this out myself, but I'm having trouble building the plugin locally at the moment. (Just problems with my environment, I believe.)
The text was updated successfully, but these errors were encountered: