You might also want to watch the files you're modifying so you don't have to restart the server every time you change something.
Go to foo.com/acs-admin/apm, then click the package name in question, then click Manage->files and finally "watch" behind the file you want to watch. You can also click watch all files in the apm main page.