From aad6dd6a3c455564d7bd99c5a0270c9cbb400db6 Mon Sep 17 00:00:00 2001 From: chenjiechuan <654815312@qq.com> Date: Wed, 19 Feb 2020 09:19:53 +0800 Subject: [PATCH] fix issue554 --- Cakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cakefile b/Cakefile index 11434428..83b1e84e 100644 --- a/Cakefile +++ b/Cakefile @@ -1,7 +1,8 @@ {spawn, exec} = require 'child_process' task 'build', 'continually build the JavaScript code', -> - coffee = spawn 'coffee', ['-cw', '-o', 'lib', 'src'] + coffeeScript = if process.platform == 'win32' then 'coffee.cmd' else 'coffee' + coffee = spawn coffeeScript, ['-cw', '-o', 'lib', 'src'] coffee.stdout.on 'data', (data) -> console.log data.toString().trim() task 'doc', 'rebuild the Docco documentation', ->