Middleware for developmentMode in node server.
Return all files in one with promises.