From edd4a2fc11219843860861343f0317a5f1268ff0 Mon Sep 17 00:00:00 2001 From: Attila Gazso Date: Thu, 20 May 2021 18:36:20 +0200 Subject: [PATCH] fix: serve npm command path specification (#101) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When running the Exit 127 command the path is not changed and it uses the default value (). Fixes #98 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 577abbd..c41e6b9 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "serve": "http-serve -o ./build", + "serve": "http-serve ./build -o", "lint": "eslint --fix \"src/**/*.ts\" \"src/**/*.tsx\" && prettier --write \"src/**/*.ts\" \"src/**/*.tsx\"", "lint:check": "eslint \"src/**/*.ts\" \"src/**/*.tsx\" && prettier --check \"src/**/*.ts\" \"src/**/*.tsx\"" },