Jump to content

VS2013 Typescript custom server


uyerdna
 Share

Recommended Posts

I'm starting to re-work my game using TS and now using Visual Studio 2013. IIS works perfect for me to test and iterate my game rapidly but I need to test it on my device as well. 

 

When working with Phaser JS, I need only to set up gruntfile.js, launch grunt, edit a little something and it will work. Can anyone please tell me how to test my game on my device or if needed, set up custom web server in VS?

 

Thanks!

Link to comment
Share on other sites

Hmm I see it now. I guess I'll just need to the grunt work myself if I want live-testing on my device

I think I can just copy my game files to www folder of mongoose or any server and then run it on my device. Should work that way but I need some one to throw that idea at me. Thanks Tom!

Link to comment
Share on other sites

You can do whatever you want after VS build - just set it in Project properties in "Build Events" tab. There is "Post-build event command line" window and you can write there what should be done. I am using it to do some extra processing of build output for release like this:

if $(ConfigurationName) == Release (  copy ..\js\mygame.js ..\js\mygame_orig.js  metascript ..\js\mygame.js > ..\js\mygame_meta.js  uglifyjs ..\js\mygame_meta.js -m -c "unused=true,dead_code=true,drop_console=true" --output ..\js\mygame.js) ELSE (  rem do nothing)
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...