Added new function to handle devDir that gets called after argv has been parsed.