add `force` option when start laravel-echo-server, update laravel-ech… (#2052)

* add `force` option when start laravel-echo-server, update laravel-echo-server version'
* move --force ottion to dockerfile
This commit is contained in:
田勇 2019-03-20 08:51:29 -05:00 committed by Shao Yu-Lung (Allen)
parent 6f4664c579
commit 9920397463
2 changed files with 3 additions and 3 deletions

View File

@ -19,4 +19,4 @@ RUN npm install
COPY laravel-echo-server.json /usr/src/app/laravel-echo-server.json
EXPOSE 3000
CMD [ "npm", "start" ]
CMD [ "npm", "start", "--force" ]

View File

@ -4,9 +4,9 @@
"version": "0.0.1",
"license": "MIT",
"dependencies": {
"laravel-echo-server": "^1.2.8"
"laravel-echo-server": "^1.5.0"
},
"scripts": {
"start": "laravel-echo-server start"
}
}
}