From 4068822489eaa2e280a6894609b47df62a2b746c Mon Sep 17 00:00:00 2001 From: inaseem Date: Mon, 1 Nov 2021 20:11:42 +0530 Subject: [PATCH] Added frontend command to makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index aad9d3e..5702021 100644 --- a/Makefile +++ b/Makefile @@ -150,11 +150,11 @@ pkg: pkg-clean pkg-build pkg-deb # L= T= [Z=gzip|xz] : Build fresh . ### Build and run application code -frontend: # Compile frontend assets for production - npx webpack --mode=production +frontend: # Compile and run frontend assets for production + yarn build && yarn start frontend-dev: # Compile and watch frontend assets for development - watchexec -w webpack.config.cjs -w node_modules -r --no-environment -- "echo 'Running webpack...' >&2; npx webpack --mode=development --watch" + yarn dev system: # Compile setuid binary for production ./system/compile.bash