Skip to content

Commit 8bd6e9c

Browse files
Updating a gamemaker game within the IDE no longer triggers devvit to upload the changes. To fix this, the main.ts now imports the runner config (which changes on each GameMaker build) which then triggers devvit to perform an update
1 parent fc5b6ae commit 8bd6e9c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/client/main.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import { InitResponse } from "../shared/types/api";
22

3+
// import runner.json for game to trigger devvit reupload upon change
4+
import GMRunnerConfig from "./public/runner.json"
5+
void GMRunnerConfig;
6+
37
declare global {
48
interface Window {
59
Module: any;

0 commit comments

Comments
 (0)