Compile CoffeeScript on Save?

前端 未结 7 1143
花落未央
花落未央 2020-12-24 01:11

Is there anyway to easily compile CoffeeScript on save? I\'m using TextMate or Sublime Text 2.

7条回答
  •  孤城傲影
    2020-12-24 01:47

    You can also accomplish this without the command line:

    1. Add a build process to Sublime Text.
    2. Make sure that Save All on Build is selected in the Tools menu.
    3. Use ⌘B instead of ⌘S when saving.

    So instead of compiling on save, you're saving on compile.

提交回复
热议问题