Modify tasks to operate with grunt server and grunt build.