Coffee script compilation

前端 未结 11 2143
深忆病人
深忆病人 2020-12-13 05:19

I\'m looking for simplest possible way to automatically recompile coffee scripts into JS.

Reading documentation but still having troubles to get exactly what I want.

11条回答
  •  庸人自扰
    2020-12-13 05:50

    Try jitter

    https://github.com/TrevorBurnham/jitter

    It watches a directory of .coffee files, and when it detects that a file has changed it automatically recompiles it to .js

    jitter /path/to/coffee/dir /path/to/js/dir

    I've been trying it out with a project using coffescript and sencha touch, it seems to work pretty well. Doesn't take care of the concatenation problem, but it's really simple to use for someone who just needs auto-compilation.

提交回复
热议问题