From bca1d2ca975b09831e32b20bf14470b3a1326258 Mon Sep 17 00:00:00 2001 From: Charles Justin Reusnow Date: Fri, 29 Jul 2022 13:58:24 -0500 Subject: [PATCH] Fix an issue with frontend:dev command running an npm command which never exits --- frontend/package.tmpl.json | 3 ++- wails.tmpl.json | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/package.tmpl.json b/frontend/package.tmpl.json index b1383a0..9102df8 100644 --- a/frontend/package.tmpl.json +++ b/frontend/package.tmpl.json @@ -6,6 +6,7 @@ "ng": "ng", "start": "ng serve", "build": "ng build --configuration production --output-hashing none", + "build:dev": "ng build --configuration development --delete-output-path false --output-hashing none", "watch": "ng build --watch --configuration development --delete-output-path false --output-hashing none", "test": "ng test" }, @@ -39,4 +40,4 @@ "karma-jasmine-html-reporter": "~1.7.0", "typescript": "~4.3.5" } -} \ No newline at end of file +} diff --git a/wails.tmpl.json b/wails.tmpl.json index a34f9c7..cc1161e 100644 --- a/wails.tmpl.json +++ b/wails.tmpl.json @@ -3,11 +3,12 @@ "assetdir": "frontend/dist", "frontend:build": "npm run build", "frontend:install": "npm install", - "frontend:dev": "npm run watch", + "frontend:dev": "npm run build:dev", + "frontend:dev:watcher": "npm run watch", "wailsjsdir": "./frontend", "outputfilename": "{{.BinaryName}}", "Author": { "name": "{{.AuthorName}}", "email": "{{.AuthorEmail}}" } -} \ No newline at end of file +}