From facea1c6afd6ea8508498b738fbe23687f342185 Mon Sep 17 00:00:00 2001 From: Jeff Hitchcock Date: Sun, 29 Oct 2023 15:26:28 -0700 Subject: [PATCH] [#2440] Add hotReload flags for development, strip in release script --- .github/workflows/release.yml | 8 ++++++++ system.json | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 844e4083a5..2f22522783 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,6 +63,14 @@ jobs: fi + - name: Adjust manifest + uses: microsoft/variable-substitution@v1 + with: + files: "system.json" + env: + flags.hotReload: false + + # Set up Node - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 diff --git a/system.json b/system.json index 785d58751b..1dc84eb741 100644 --- a/system.json +++ b/system.json @@ -208,6 +208,10 @@ "primaryTokenAttribute": "attributes.hp", "flags": { "needsMigrationVersion": "2.4.0", - "compatibleMigrationVersion": "0.8" + "compatibleMigrationVersion": "0.8", + "hotReload": { + "extensions": ["css", "hbs", "json"], + "paths": ["dnd5e.css", "templates", "lang"] + } } }