From 83c4b444446933e6c99df4b3e69f412a0d9b4ecd Mon Sep 17 00:00:00 2001 From: Christian Alfoni Date: Mon, 11 Dec 2023 17:16:01 +0100 Subject: [PATCH] feat: Auto reload on Devbox This template does not auto reload. In Sandbox mode we have implemented so that `static` template auto reloads, but on Devbox we should not really hardcode that. Sadly there is only the `live-server` package that makes this possible and for some reason it vies an EOL error when running on CSB... no idea what that is. So the closest thing we get to this is using parcel. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5bb095dd..802fb573 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A template for HTML and CSS", "main": "index.html", "scripts": { - "start": "serve" + "start": "parcel index.html --port 5000", }, "keywords": [ "html", @@ -13,7 +13,7 @@ "author": "Ives van Hoorne", "license": "MIT", "devDependencies": { - "serve": "^11.2.0", + "parcel": "^2.10.3", "babel-eslint": "^10.1.0", "eslint": "^7.2.0" }