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

@ -48,7 +48,8 @@ exports.config =
usePolling: true
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:
javascripts: