0
0
Fork 0

Update serve commands to not cause the file watch limit error

This commit is contained in:
Tyler-A 2020-08-06 23:09:55 -06:00
parent 943ae7f7b7
commit bff8c8015a

View file

@ -3,8 +3,8 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve --copy", "serve": "sudo tee -a /etc/sysctl.conf <<< 'fs.inotify.max_user_watches=524288' && sudo sysctl -p && vue-cli-service serve --copy",
"server": "vue-cli-service serve --copy", "server": "npm run serve",
"build": "vue-cli-service build --modern", "build": "vue-cli-service build --modern",
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },