From 42b6a143809d796eee133c73e6037977895b305b Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Fri, 5 Aug 2022 16:13:38 +0200 Subject: [PATCH] Fixed server not picking up `package.json` version - removing the hardcoded JS file makes it run `yarn start`, which puts the CWD for the process in the correct place so it picks up the `package.json` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2b5148890f..94d21545df 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "scripts": { "dev:debug": "DEBUG=@tryghost*,ghost:* yarn dev", "dev:admin": "yarn workspace ghost run dev:admin", - "dev:ghost": "nodemon -q -i ghost/admin -i ghost/core/content -i ghost/core/core/built ghost/core/index.js", + "dev:ghost": "nodemon -q -i ghost/admin -i ghost/core/content -i ghost/core/core/built", "dev": "concurrently -c \"blue,green\" --kill-others -n ghost,admin \"yarn dev:ghost\" \"yarn dev:admin\"", "fix": "yarn cache clean && rm -rf node_modules && yarn", "knex-migrator": "yarn workspace ghost run knex-migrator",