Fixed bug for run
This commit is contained in:
parent
7b18c601c2
commit
b1aaeaaef8
3 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -122,3 +122,4 @@ dist
|
|||
yarn.lock
|
||||
public/css
|
||||
public/css
|
||||
docker-compose.yml
|
||||
|
|
|
@ -10,7 +10,7 @@ services:
|
|||
command: >
|
||||
bash -c "
|
||||
yarn install &&
|
||||
yarn run"
|
||||
yarn run:all"
|
||||
volumes:
|
||||
- ./:/home/node/app
|
||||
- /home/node/node_modules
|
||||
|
|
|
@ -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/*"
|
||||
|
|
Loading…
Reference in a new issue