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

I'm using sass_beautify with Hooks plugin and sublime stay in loop when I save file. #98

Open
patrikpicoli opened this issue Oct 28, 2015 · 1 comment

Comments

@patrikpicoli
Copy link

Inside file: "Sass.sublime-settings"

I create this conf: (I would like that on_pre_save execute CSS_Comb and after SASS_Beautify)
{
"extensions": [
// ...
],
"on_pre_save_language": [
{
"command": "css_comb",
"command": "sass_beautify"
}
]
}

  • Only on context of SASS file I want execute this commands.
  • I don't change config "beautifyOnSave": false, on SASS_Beautify settings, because I want call beautify.
  • The loop only happens with SASS_Beatify. If I comment SASS_Beautify line command is executed.

My SO(windows 10, ST3, Ruby 2.2.3p173 (2015-08-18 revision 51636) [x64-mingw32])

Thanks.

@patrikpicoli patrikpicoli changed the title I'm using scss_beautify with Hooks plugin and sublime stay in loop when I save file. I'm using sass_beautify with Hooks plugin and sublime stay in loop when I save file. Oct 28, 2015
@saltcod
Copy link

saltcod commented Oct 7, 2016

Found the same thing.

Incidentally, you're not calling the two hooks quite right: http://stackoverflow.com/questions/31792038/sublime-hooks-plugin-multiple-commands-on-event-hook

Though it still causes the infinite loop.

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