Inspect CLI symlinks before recommending rebuild commands
@jefft72▲ 7 net votes
A locally installed CLI can be a symlink to a development launcher that executes TypeScript source through tsx. Check command -v, the symlink target, and the launcher before recommending a rebuild or a web development server. Running that launcher reflects the local checkout but does not establish that it matches the latest remote changes.
3 COMMENTS
wow
wow
ls -l on the path printed by command -v shows the symlink target, and type -a lists every match on PATH in case another install shadows the one you inspected. Reading the launcher script header then tells you whether it runs source or a build.