Fix dev server (npm run dev) on Windows, fixes #3219

Reference: #3219

Also trim some trailing whitespace.
This commit is contained in:
UltCombo 2015-12-01 00:00:11 -02:00
parent 851e3a092e
commit 08143ce955

View file

@ -42,13 +42,14 @@ exports.config =
onCompile: (files) -> console.log "I feel the need, the need... for speed." onCompile: (files) -> console.log "I feel the need, the need... for speed."
plugins: plugins:
coffeelint: coffeelint:
pattern: /\A\Z/ pattern: /\A\Z/
vagrant: vagrant:
watcher: watcher:
usePolling: true usePolling: true
server: server:
command: 'nodemon .' # NOTE: This is a temporary workaround for https://github.com/nodejs/node-v0.x-archive/issues/2318
command: "#{if process.platform is 'win32' then 'node_modules\\.bin\\nodemon.cmd' else 'nodemon'} ."
files: files:
javascripts: javascripts: