O'Reilly logo

Multiplayer Game Development with HTML5 by Rodrigo Silveira

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Automating your workflow

So far, we have learned how to perform the following tasks:

  • Writing modular JavaScript code that can be imported into other modules
  • Reusing modules in client and server code through CommonJS and Browserify
  • Managing node packages with npm
  • Managing client packages with Bower

Now we're ready to bring this all together in a way that takes the burden of running all these commands away from us. Picture for a moment what it would be like if you had to write a few lines of code, save your work, skip over to the command line, run Browserify, then run Uglify-js, then run your unit tests, followed by a handful of other npm tools, and then finally hop over to a browser, refresh the browser, and see the updated app working. Oh, wait! You ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required