Skip to content

Fix hot reloading for files not named game.js#1

Open
CoolCat467 wants to merge 1 commit into
tsoding:mainfrom
CoolCat467:patch-1
Open

Fix hot reloading for files not named game.js#1
CoolCat467 wants to merge 1 commit into
tsoding:mainfrom
CoolCat467:patch-1

Conversation

@CoolCat467
Copy link
Copy Markdown

Currently, hot reloading is hard-coded to reload game.js. If input path is not game.js, this will break currently. In this pull request, we change hot reloading to use the CLI input path argument instead of hard-coded game.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant