fixed: NODE_ENV for 'development'
fixed: adjust lock for OS Darwin