is there a coffeescript auto compile / file watcher for windows?

前端 未结 9 2190
攒了一身酷
攒了一身酷 2021-02-19 16:01

I\'d like to play around with integrating coffeescript into my dev process. But as I see it, I\'ll have to make a bat file that iterates a set of coffee files and spits out js f

9条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-19 16:38

    See update at bottom of post.

    I was hunting for the same thing the other day and came across this: https://github.com/danenania/CoffeePy

    It's a simple python script that uses PyV8 to run coffee-script.js.

    It doesn't do anything fancy, just watches a folder recursively, and compiles any .coffee files whenever they're changed. It doesn't even have a bare option. These things could be very easily added though!

    Edit:

    I forked the script and added --bare and --output options.

    You can get it here: https://github.com/johtso/CoffeePy

提交回复
热议问题