Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-module project example that works with autoreload #1387

Closed
Kietyo opened this issue Mar 5, 2023 · 2 comments
Closed

Multi-module project example that works with autoreload #1387

Kietyo opened this issue Mar 5, 2023 · 2 comments

Comments

@Kietyo
Copy link
Contributor

Kietyo commented Mar 5, 2023

Would be nice to have a multi module project template that has:

  • a korge client
  • a server
  • common game logic

and works with autoreload. Haven't been able to get auto-reload working myself for my own multi-module project.

https://github.com/Kietyo/XenoTacticV2 (only shared with soywiz thus far)

@soywiz
Copy link
Member

soywiz commented Mar 5, 2023

This existed already. I have updated it: https://github.com/korlibs/korge-hello-world-client-server

It seems to work. But it doesn't get changes in the common module, only changes in the client module

@soywiz
Copy link
Member

soywiz commented Mar 13, 2023

With this change: #1405
you can make changes in the shared module of
https://github.com/korlibs/korge-hello-world-client-server
and still get hotreloading :)
I guess that repo is exactly a multi-module project example that works with autoreload, so I'm closing this. Feel free to reopen the issue if for some reason that sample doesn't work for you after doing a ./gradlew clean publishToMavenLocal here in the korge repo first and then ./gradlew runJvmAutoreload on the korge-hello-world-client-server

@soywiz soywiz closed this as completed Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants