â æ¦è¦ ååã¾ã§ã§ãphantomjsã大ä½ããã£ãã®ã§ãjasmine with CoffeeScriptãªç°å¢ãä½æãã¾ãã â 説æ ã»CoffeeScriptã®ã³ã³ãã¤ã«ã楽ããããããã§ã¯watchrãå©ç¨ãã¦ã¿ã¾ãã $ sudo gem install watchr $ mkdir demo; cd demo $ mkdir src; mkdir spec $ vim coffee.watchr watch(/(src|spec)\/.*\.coffee/) { |md| system("coffee -cb #{md[0]}") } $ watchr coffee.watchr (å¥ã®ç«¯æ«ã§) $ vim src/test.coffee console.log "a" $ ls src test.coffee test.js <= ã§ãã¦ã¾ãï¼ ã»ã§ã¯jasmineãå©ç¨ãã¦
{{#tags}}- {{label}}
{{/tags}}