diff --git a/package.json b/package.json index 7334b4c7..5c08cae9 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,12 @@ "description": "", "main": "index.js", "scripts": { - "start": "DOCKER_API_VERSION=1.38 concurrently 'go run main.go' 'npm run watch-assets'", + "prestart": "npm run clean", + "start": "DOCKER_API_VERSION=1.38 concurrently 'gin -a 8080 -i run main.go' 'npm run watch-assets'", "watch-assets": "parcel watch --public-url '__BASE__' assets/index.html -d static", "prebuild": "npm run clean", "build": "parcel build --no-source-maps --public-url '__BASE__' assets/index.html -d static", - "clean": "rm -rf static", + "clean": "rm -rf static/ a_main-packr.go", "release": "goreleaser --rm-dist" }, "repository": {