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

allow "open" on windows when using an npm script? #55

Open
Pomax opened this issue Oct 12, 2016 · 0 comments
Open

allow "open" on windows when using an npm script? #55

Pomax opened this issue Oct 12, 2016 · 0 comments

Comments

@Pomax
Copy link

Pomax commented Oct 12, 2016

since npm scripts don't let you run different commands depending on the platform you are on (after all, "node scripts just work") having to use "start" rather than "open" when in windows actually presents a really big problem in terms of a clean run script. The only workaround right now is to create a node script that requires open, then checks process.platform and then runs the correct open command, which feels kind of gross.

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

No branches or pull requests

1 participant