D
D
Dmitry Katyushin2016-12-04 11:16:55
css
Dmitry Katyushin, 2016-12-04 11:16:55

What's going on with Sass?

Hello.
Lately, the Sass plugin has been acting very strangely. I 'm deploying the project from Yeoman (webapp) , the problem is that after writing the code and saving it, errors get out Screenshot of errors , and the code itself is without errors. So you can, for example, save 5 times in a row and sooner or later it will stop giving an error, "it just chews the code" and everything works fine, but the code has not changed.
Has anyone experienced a similar problem or know what could be causing it? Working with such errors has become simply unbearable :(

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Mr Crabbz, 2016-12-04
@Punkie

I had the exact same bug. I compiled sass via Prepros (gui, everything is via gulp). Code edited in Sublime. And here, too, when I saved often and quickly - the imported files turned out to be unreadable for some reason. Switched to Atom - the problem is gone. It seems that periodically after saving the file, it is blocked by the file system for some unknown reason.

S
Sergey Gromov, 2016-12-18
@reskwer

If you are using Sublime, then add the line "atomic_save": true in the settings, and the problem will be solved.. in other editors, I think this problem is not

W
WQP, 2016-12-04
@WQP

It also happens to me, only I re-save once everything works. It seems to me that it's just some kind of version conflict, but I'm too lazy to update everything

D
Dmitry Khristoev, 2016-12-04
@Haoss

it was strange, but it was decided by adding "use strict" to the gulpfile at the top, and the import itself
- without quotes and underscores, it finds the file itself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question