From d74e4b2ab3505fdc71b7f10765a119a44d59aa00 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sat, 19 Aug 2023 01:10:19 +0200 Subject: [PATCH] Disable parcel cache for the dev server --- frontend/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index db01035b..a5d08728 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -12,11 +12,11 @@ "@graphite/*": "~/src/$1" }, "scripts": { - "start": "npm run build-wasm && concurrently -k \"parcel serve index.html --port 8080\" \"npm run watch:wasm\" || (npm run print-building-help && exit 1)", - "start-profiling": "npm run build-wasm-profiling && concurrently -k \"parcel serve index.html --port 8080\" \"npm run watch:wasm-profiling\" || (npm run print-building-help && exit 1)", + "start": "npm run build-wasm && concurrently -k \"parcel serve --no-cache index.html --port 8080\" \"npm run watch:wasm\" || (npm run print-building-help && exit 1)", + "start-profiling": "npm run build-wasm-profiling && concurrently -k \"parcel serve --no-cache index.html --port 8080\" \"npm run watch:wasm-profiling\" || (npm run print-building-help && exit 1)", "build": "npm run build-wasm-prod && npm run build-licenses && parcel build index.html || (npm run print-building-help && exit 1)", "build-licenses": "webpack build", - "tauri:dev": "echo 'Make sure you build the wasm binary for tauri using `npm run tauri:build-wasm`' && parcel serve index.html --port 8080", + "tauri:dev": "echo 'Make sure you build the wasm binary for tauri using `npm run tauri:build-wasm`' && parcel serve --no-cache index.html --port 8080", "build-wasm": "wasm-pack build ./wasm --dev --target=web", "build-wasm-profiling": "wasm-pack build ./wasm --profiling --target=web", "build-wasm-prod": "wasm-pack build ./wasm --release --target=web",