Fixed bug for run

This commit is contained in:
Damien Broqua 2022-02-17 09:45:58 +01:00
parent 7b18c601c2
commit b1aaeaaef8
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View file

@ -122,3 +122,4 @@ dist
yarn.lock
public/css
public/css
docker-compose.yml

View file

@ -10,7 +10,7 @@ services:
command: >
bash -c "
yarn install &&
yarn run"
yarn run:all"
volumes:
- ./:/home/node/app
- /home/node/node_modules

View file

@ -4,7 +4,7 @@
"description": "Simple application to manage your CD/Vinyl collection",
"scripts": {
"start": "node ./dist/bin/www",
"run": "npm-run-all build sass start",
"run:all": "npm-run-all build sass start",
"watch": "nodemon -e js,scss",
"sass": "npx sass sass/index.scss public/css/main.css -s compressed",
"prebuild": "rimraf dist",
@ -64,7 +64,7 @@
"vue": "^3.2.31"
},
"nodemonConfig": {
"exec": "yarn run",
"exec": "yarn run:all",
"watch": [
"src/*",
"sass/*"