UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

19 lines (18 loc) 902 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SOCKET_REFUSED_EXIT_CODE = void 0; /** * Exit code a process uses when the operating system refused the unix socket it * tried to bind, as distinct from every other way it can die. * * A process that cannot bind leaves its parent holding only "it exited", which * an OOM kill and a broken install produce just as well, and the errno itself * never crosses the process boundary. Both the Nx daemon and the plugin worker * bind in a child whose stderr the parent may never see, so this code is how * each one's parent learns it was a refusal and can degrade on proof rather than * on an environment guess. 78 is sysexits' EX_CONFIG, outside the range Node * uses for its own fatal exits. * * Deliberately import-free: both producers read it on their startup path. */ exports.SOCKET_REFUSED_EXIT_CODE = 78;