Hot Reloading

Is there a way to do something like hot module reloading/live reloading on change for Foundry?
5 Replies
Calego
Calego•4y ago
There's this template which uses webpack to accomplish this: https://github.com/Blackcloud010/FoundryVTT-Module-Template-Hotswap It's set up for Typescript but you can probably hack and slash it for standard JS. Thanks @blackcloud010 in advance 😉
GitHub
GitHub - Blackcloud010/FoundryVTT-Module-Template-Hotswap: A templa...
A template for creating foundry modules using typescript. Project files are setup to be hot reloaded. - GitHub - Blackcloud010/FoundryVTT-Module-Template-Hotswap: A template for creating foundry mo...
Leo The League Lion
Leo The League Lion•4y ago
@calego gave vote LeaguePoints™ to @blackcloud010 (#106 • 9)
Unknown User
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
zeel
zeel•4y ago
Chrome Workspaces also facilitate "hot reload"-like behavior. https://discord.com/channels/732325252788387980/756610562787508284/785603851247288342
wyrmisis
wyrmisisOP•4y ago
Okay, cool. Once I get to sit down and work on my stuff again, I'll see if I can't get either of those approaches going -- either the webpack route or the Chrome Workspaces route. I've been trying to avoid having a build step in my workflow just because the idea of manually rerunning after making a change, then having to refresh too kills me a little inside 🙃
Want results from more Discord servers?
Add your server