From 08143ce9552410ef52ab969350c95c825c66b99c Mon Sep 17 00:00:00 2001 From: UltCombo Date: Tue, 1 Dec 2015 00:00:11 -0200 Subject: [PATCH] Fix dev server (`npm run dev`) on Windows, fixes #3219 Reference: #3219 Also trim some trailing whitespace. --- config.coffee | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config.coffee b/config.coffee index f18bdc0cf..9c7c0edd9 100644 --- a/config.coffee +++ b/config.coffee @@ -42,13 +42,14 @@ exports.config = onCompile: (files) -> console.log "I feel the need, the need... for speed." plugins: coffeelint: - pattern: /\A\Z/ + pattern: /\A\Z/ vagrant: watcher: 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: