Det grunt api to ignore test, app, and dist directories

save a fiel from each directory. note that only /api will restart the server