If it takes you 5 minutes to test 10 lines of code, there is a problem. If it takes you 3 minutes to bounce your (local) server, and that's the only way for you to test your code, there is another problem.
See All 488 Episodes of "Mobile App Development, Web Apps too"