What's the best way to use CoffeeScript with Django if you're developing on Windows?

后端 未结 5 1566
無奈伤痛
無奈伤痛 2021-01-30 18:45

While starting to use Sass / Compass with Django couldn\'t be much easier regardless of platform, it has taken a bit of searching around to find the best way to use CoffeeScript

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-30 19:25

    I find the delay that compiling via compressor adds to be too much. So I compile on the client side instead, and check in the js files. Instant, and very convenient if you start watching files when the runserver command is run:

    https://gist.github.com/EmilStenstrom/4761479

提交回复
热议问题