Skip to content
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

processes wrong file if autosave is enabled #60

Closed
ben-page opened this issue Mar 26, 2016 · 1 comment
Closed

processes wrong file if autosave is enabled #60

ben-page opened this issue Mar 26, 2016 · 1 comment

Comments

@ben-page
Copy link

I have autosave enabled in Atom. This causes Atom to save your file when ever you switch tabs. But, this is causing sass-autocompile to process the wrong file.

Example
If I'm working on a scss file and switch to an html file, Atom saves the scss file. But sass-autocompile attempts to compile the html file instead of the scss file. So I see an error like this: Error: Invalid CSS after "": expected 1 selector or at-rule, was "<!doctype html>" and the css file is not updated.

@armin-pfaeffle
Copy link
Owner

Hey! Thanks for you report. I published a fixed version right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants