-
Notifications
You must be signed in to change notification settings - Fork 381
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
Watch errors on gulp-sass when saving file #396
Comments
Have you gone through the faq at https://github.com/dlmanning/gulp-sass/wiki/Common-Issues-and-Their-Fixes ? |
Well, before posting i did make sure to update gulp-sass, but not node-sass [it was not more than a month old though] I just ran an update, but as this error is a bit sporadic, ill have to wait and see.
|
Have the same problem. Just goes away after a couple of saves and then appears again out of the blue. I have this isue in a main.scss file where I only import other stuff. I don't touch that file an yet now and then it breaks down with the same error. |
+1 |
I'm pretty sure that This could be a related problem. If your editor is in the process of writing out a file and |
I'm facing this issue with Github Atom. It doesn't have 'atomic_save' option like Sublime Text. Is there any workaround? |
I read in somewhere that i cannot remember, but in my case the problem was set to gulp-sass .css files, so i just had to remove them. @rahulnever2far, But I guess that is not what are you looking for. |
+1 |
Unfortunately this issue an issue with |
I'm faced with the same issue. But in my file structure I'm using node modules, so I've just set setTimeout to my require of scss task and it seems to work for me. For example:
|
timeout is very best! now @import Error: File to import not found or unreadable: IS SOLVED var admin_css_task = function () { gulp.task('watch', function () { |
While having a gulp watch task running, sometimes a file save triggers a SASS-ing, which will provide the following error. Resaving the file will usually solve the problem. sometime more than 1 resave is needed.
ERROR:
I upgraded gulp-sass just last night. I had this error also before the update, but it was a bit less detailed: only the
Error: File to import not found or unreadable: breakpoints/768up
Using Windows 8.1
Gulpfile:
The text was updated successfully, but these errors were encountered: