Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add example for hashbang with local tsx #522

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

silverwind
Copy link
Contributor

There is also a variant with -S:

#!/usr/bin/env -S npx tsx

but as per my testing using BSD and GNU env, the two variants work exactly the same, so I guess without the -S would be slightly more portable.

@privatenumber privatenumber merged commit b343b4a into privatenumber:develop Apr 12, 2024
2 checks passed
@privatenumber
Copy link
Owner

Thanks! I appreciate it

@silverwind silverwind deleted the local-hashbang branch April 12, 2024 22:29
@privatenumber
Copy link
Owner

🎉 This issue has been resolved in v4.7.3

If you appreciate this project, please consider supporting this project by sponsoring ❤️ 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants