You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created HTML5 application. I run gradlew html:dist command. I run http-server html/build/dist command. Where my game? I see message that superdevmode need. Why?
The text was updated successfully, but these errors were encountered:
Well... I normally run release app by this instruction. Summary I copied dist folder from app folders to external folder (in my case desktop folder). Remove WEB-INF folder. And successfully run with node.js server. May be you can add this into deploying instruction.
Those deploying instructions have said this about Node.js, since about 2 years ago:
With Node.js npm install http-server -g then http-server html/build/dist and browse at http://localhost:8080/ . docs
Does that not work? I really don't think the desktop module should have any HTML-specific files in it. If you meant the Desktop folder for your user account, not a desktop project's folder, I don't know of any particular reason why one would be different from the other. If your project is in a OneDrive folder, take it out of there, because OneDrive really makes a mess out of IDEA's or Android Studio's caches, and causes strange bugs.
I've never had to remove the WEB-INF folder. Then again, I almost exclusively use projects generated by gdx-liftoff for HTML, and Liftoff removes the contents of WEB-INF/deploy/html/symbolMaps/ for dist builds (because they can be quite large). So I suppose the code I wrote removes specific parts of WEB-INF anyway...
Hello!
I created HTML5 application. I run gradlew html:dist command. I run http-server html/build/dist command. Where my game? I see message that superdevmode need. Why?
The text was updated successfully, but these errors were encountered: