Fix dev server (npm run dev
) on Windows, fixes #3219
Reference: #3219 Also trim some trailing whitespace.
This commit is contained in:
parent
851e3a092e
commit
08143ce955
1 changed files with 3 additions and 2 deletions
|
@ -48,7 +48,8 @@ exports.config =
|
||||||
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:
|
||||||
|
|
Reference in a new issue