Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Autosave on CTRL + X ? #49

Closed
skrew opened this issue Oct 24, 2014 · 8 comments
Closed

Autosave on CTRL + X ? #49

skrew opened this issue Oct 24, 2014 · 8 comments

Comments

@skrew
Copy link

skrew commented Oct 24, 2014

Hi, fantastic job, really !

It's there a way to auto save when pressing CTRL + X ? It's not easy to CMD+S and CTRL +X each time, or i have a problem with my installation ?

Thanks

@PaulTaykalo
Copy link
Member

Thanks.

Didn't have problems with that :) Of course there's a way to perform autosave. Don't think that this one will be in the top priority one, but :) thank you for suggestion.

@skrew
Copy link
Author

skrew commented Oct 25, 2014

I've just made a patch, i don't know if you want a PR but it just works like i want. Maybe add a shortcut for autosave or option somewhere... If anyone want it:

skrew@d785225

@hfossli
Copy link
Contributor

hfossli commented Oct 26, 2014

👍

@hfossli
Copy link
Contributor

hfossli commented Oct 27, 2014

How can I test this patch?

@rbaulin
Copy link

rbaulin commented Nov 19, 2014

Any ideas on how to trigger recompile action on document save (similar to guard watch)?

@krzysztofzablocki
Copy link

@rbaulin
Copy link

rbaulin commented Nov 19, 2014

@krzysztofzablocki thank you. I have seen your great project before, but I want to stick with something lightweight and quick for in-place use, more like for realtime tweaking (as for html+css) than for exploratory playgrounds. Your approach with kicker works perfectly. Here is a brief tutorial for others to get recompile-on-save feature:

  1. run gem install kicker
  2. put .kick file in your project root folder
  3. run kicker -sql 0.05 from your project root to watch for file changes

@PaulTaykalo
Copy link
Member

Merged In in 710b3b9

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

No branches or pull requests

5 participants