From 19caaa5171fb7d9bc36abf0f4b6dabe06bdc464e Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Wed, 23 Dec 2020 20:33:19 +0100 Subject: [PATCH] separate building and linking --- README.md | 8 +++++++- package.json | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7ffcc3d7..e3a50655 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ npm run build If you'd like the built system to be automatically linked to your local Foundry VTT installation's data folder, add a file called `foundryconfig.json` to the -project root with the following contents befor building: +project root with the following contents: ``` { @@ -33,6 +33,12 @@ project root with the following contents befor building: } ``` +Then run + +``` +npm run link +``` + If you want the system to be continuously build upon every saved change, just run diff --git a/package.json b/package.json index c5b5d7ff..1effb9f3 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,9 @@ "description": "", "scripts": { "package": "gulp package", - "build": "gulp build && gulp link", + "build": "gulp build", "build:watch": "gulp watch", + "link": "gulp link", "clean": "gulp clean && gulp link --clean", "update": "npm install --save-dev gitlab:foundry-projects/foundry-pc/foundry-pc-types", "lint": "eslint 'src/**/*.ts' --cache",