From bab70f0d274454e6c790947462fcb113e3d76abc Mon Sep 17 00:00:00 2001 From: Thomas Osmonson Date: Tue, 17 Nov 2020 10:26:08 -0600 Subject: [PATCH] fix: dev task needs to clear cache --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 144af794..a5937c2b 100644 --- a/package.json +++ b/package.json @@ -109,11 +109,11 @@ }, "private": true, "scripts": { - "build": "next build", + "build": "yarn clean:build-files && next telemetry disable && NODE_ENV=production next build", "build:analyze": "yarn clean:build-files && next telemetry disable && NODE_ENV=production ANALYZE=true next build", - "start": "next start", + "start": "next telemetry disable && NODE_ENV=production next start", "clean:build-files": "rimraf .next && rimraf .cache", - "dev": "next dev", + "dev": "yarn clean:build-files && next dev", "build:cli-reference": "blockstack-cli docs > src/_data/cli-reference.json", "export": "next export", "lint": "yarn lint:eslint && yarn lint:prettier",