Skip to content

Commit

Permalink
[#2440] Add hotReload flags for development, strip in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
arbron committed Nov 9, 2023
1 parent 8381a81 commit facea1c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion system.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
}

0 comments on commit facea1c

Please sign in to comment.