fix: prevent race conditions for concurrent npm-based server processes using same `node_modules` dir by simschla · Pull Request #2786 · diffplug/spotless
added 4 commits
December 9, 2025 20:45…rs on same node_modules Before this change: if two (or more) node-based servers have been started on the same node_modules dir, the could override each others temporary port files, resulting in some of the servers not correctly launching. With this change: each server process makes sure to write distinct temporary and final files for transporting selected port number to the launching java process. This is a fixup for diffplug#2462. Refs: diffplug#2462, diffplug#2542
simschla
changed the title
fix: prevent name collisions for concurrent npm-based server processes
fix: prevent race conditions for concurrent npm-based server processes using same node_modules dir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters