fix: try to detect node-dev env, dont use NODE_ENV

if run with `NODE_ENV=dev make cluster` will cause dead lock
Release 1.0.4