Skip to content

Comment on How to compile CoffeeScript on save in VIM

Comments

coffee-mode.el provides the same functionality for emacs. Automatic compilation of any *.coffee file on save can be enabled by

    (add-hook 'after-save-hook
                          (lambda ()
                            (when (string-match "\.coffee$" (buffer-name))
                              (coffee-compile-file))))
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.