From 0bc646739ffacedab17b47402a219cacd6ce25fa Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 20 Dec 2020 02:54:46 -0600 Subject: [PATCH] fix: produce delete cache --- app/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/package.json b/app/package.json index 75499ee..d49747a 100644 --- a/app/package.json +++ b/app/package.json @@ -9,7 +9,7 @@ "forcelatus": "pkgs=$(find node_modules/@latus -maxdepth 1 -mindepth 1 -printf '@latus/%f '); yarn upgrade $pkgs", "forcereddichat": "pkgs=$(find node_modules/@reddichat -maxdepth 1 -mindepth 1 -printf '@reddichat/%f '); yarn upgrade $pkgs", "lint": "eslint --cache --format codeframe --ext mjs,jsx,js src", - "produce": "yarn run docker -t cha0s6983/reddichat . && docker tag cha0s6983/reddichat docker.i12e.cha0s.io/cha0s6983/reddichat && docker push docker.i12e.cha0s.io/cha0s6983/reddichat", + "produce": "sudo rm -rf node_modules/.cache && yarn run docker -t cha0s6983/reddichat . && docker tag cha0s6983/reddichat docker.i12e.cha0s.io/cha0s6983/reddichat && docker push docker.i12e.cha0s.io/cha0s6983/reddichat", "repl": "rlwrap -C qmp socat STDIO UNIX:$(ls /tmp/latus-*.sock | tail -n 1)", "start": "NODE_ENV=production node build/index.js", "test": "mocha --watch src",