From d7673b41a80589fdbfe657ec61ad64b230c27ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Tue, 12 Dec 2023 02:25:30 +0100 Subject: [PATCH] fix: restart server on server changes (#223) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fe39d2d2..90782486 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build:server": "esbuild --platform=node --format=cjs ./server.ts --outdir=build --bundle --external:fsevents", "dev": "run-p dev:*", "dev:server": "cross-env NODE_ENV=development npm run build:server -- --watch", - "dev:remix": "remix dev --manual -c \"node --require ./mocks ./build/server.js\"", + "dev:remix": "remix dev --manual -c \"node --require ./mocks --watch-path ./build/server.js --watch ./build/server.js\"", "docker": "docker compose up -d", "format": "prettier --write .", "format:repo": "npm run format && npm run lint -- --fix",