From 482ba4b161cdc68027c8ad7019b12a04e4b6fd7c Mon Sep 17 00:00:00 2001 From: Charl Kruger Date: Mon, 10 Mar 2025 13:01:42 +0200 Subject: [PATCH] Update server.mdx (#149) Cleaner and more direct since it uses the system's chmod command directly rather than going through Node.js. --- quickstart/server.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstart/server.mdx b/quickstart/server.mdx index 6203294..9e428d5 100644 --- a/quickstart/server.mdx +++ b/quickstart/server.mdx @@ -386,7 +386,7 @@ Update your package.json to add type: "module" and a build script: "weather": "./build/index.js" }, "scripts": { - "build": "tsc && node -e \"require('fs').chmodSync('build/index.js', '755')\"", + "build": "tsc && chmod 755 build/index.js", }, "files": [ "build"