diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dbdc61..4cbf1ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - Fixed #64 (`hardcode` option masked in express adapter). [smathy] - Added missing elements from the HTML 5 spec (both valid and obsolete). Closes #66 (thanks @aeosynth). - Added compile to js option to CLI. Closes #58. [rachel-carvalho] + - Fixed #69 (`coffeekup -w` only compiles upon first change). [rachel-carvalho] **v0.3.0beta** (2011-07-27): diff --git a/src/cli.coffee b/src/cli.coffee index a3deb65..f6bdcee 100644 --- a/src/cli.coffee +++ b/src/cli.coffee @@ -81,4 +81,5 @@ switches = [ fs.watchFile file, {persistent: true, interval: 500}, (curr, prev) -> return if curr.size is prev.size and curr.mtime.getTime() is prev.mtime.getTime() compile file, options.output, options.js, options.namespace - else compile file, options.output, options.js, options.namespace + + compile file, options.output, options.js, options.namespace