From 0a019daf9ae28d12648d7f27b8fc5422790394ba Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Sun, 10 Nov 2019 15:52:03 +0200 Subject: [PATCH] Make favicon work --- monkey/monkey_island/cc/ui/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monkey/monkey_island/cc/ui/package.json b/monkey/monkey_island/cc/ui/package.json index 442e6a0d3..b29fe2713 100644 --- a/monkey/monkey_island/cc/ui/package.json +++ b/monkey/monkey_island/cc/ui/package.json @@ -5,8 +5,8 @@ "scripts": { "clean": "rimraf dist/*", "copy": "copyfiles -f ./src/index.html ./src/favicon.ico ./dist", - "dist": "webpack --mode production", - "dev": "webpack --mode development", + "dist": "webpack --mode production && copyfiles -f ./src/favicon.ico ./dist", + "dev": "webpack --mode development && copyfiles -f ./src/favicon.ico ./dist", "lint": "eslint ./src", "posttest": "npm run lint", "release:major": "npm version major && npm publish && git push --follow-tags", @@ -14,7 +14,7 @@ "release:patch": "npm version patch && npm publish && git push --follow-tags", "serve": "node server.js --env=dev", "serve:dist": "node server.js --env=dist", - "start": "webpack-dev-server --mode development --open --history-api-fallback --port 8000", + "start": "webpack-dev-server --verbose --mode development --open --history-api-fallback --port 8000", "test": "karma start", "test:watch": "karma start --autoWatch=true --singleRun=false" },