nx 22.1.0-canary.20251117-e8576a8 → 22.1.0-canary.20251119-7b9970f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -401,20 +401,20 @@ async function startServer() {
401
401
  if (!socket_utils_1.isWindows) {
402
402
  (0, socket_utils_1.killSocketOrPath)();
403
403
  }
404
+ setInterval(() => {
405
+ if ((0, cache_1.getDaemonProcessIdSync)() !== process.pid) {
406
+ return (0, shutdown_utils_1.handleServerProcessTermination)({
407
+ server,
408
+ reason: 'this process is no longer the current daemon (native)',
409
+ sockets: exports.openSockets,
410
+ });
411
+ }
412
+ }, 20).unref();
404
413
  return new Promise(async (resolve, reject) => {
405
414
  try {
406
415
  server.listen((0, socket_utils_1.getFullOsSocketPath)(), async () => {
407
416
  try {
408
417
  logger_1.serverLogger.log(`Started listening on: ${(0, socket_utils_1.getFullOsSocketPath)()}`);
409
- setInterval(() => {
410
- if ((0, cache_1.getDaemonProcessIdSync)() !== process.pid) {
411
- return (0, shutdown_utils_1.handleServerProcessTermination)({
412
- server,
413
- reason: 'this process is no longer the current daemon (native)',
414
- sockets: exports.openSockets,
415
- });
416
- }
417
- }, 20).unref();
418
418
  // this triggers the storage of the lock file hash
419
419
  daemonIsOutdated();
420
420
  if (!(0, shutdown_utils_1.getWatcherInstance)()) {
@@ -75,7 +75,7 @@ class InProcessTaskHasher {
75
75
  exports.InProcessTaskHasher = InProcessTaskHasher;
76
76
  const DEFAULT_INPUTS = [
77
77
  {
78
- fileset: '{projectRoot}/**/*',
78
+ input: 'default',
79
79
  },
80
80
  {
81
81
  dependencies: true,
@@ -285,6 +285,7 @@ export declare const enum GroupType {
285
285
  MainCLI = 'MainCLI',
286
286
  MainCliSubprocesses = 'MainCliSubprocesses',
287
287
  Daemon = 'Daemon',
288
+ DaemonSubprocesses = 'DaemonSubprocesses',
288
289
  Task = 'Task',
289
290
  Batch = 'Batch'
290
291
  }
Binary file