Skip to content

Figure out how to pass a Node script to BROWSER #1533

Closed
@gaearon

Description

@gaearon

We added support for BROWSER env variable that is interpreted by OS-specific command.
On OS X, it runs open http://url.com -a <BROWSER>.

However I'm not sure how to make it execute a Node script, and if it's even possible. That would be the best for allowing use cases like #1096 and #1450. It would be awesome to investigate how to get it working with a Node script (my naïve attempt at pointing it to a shell script with node env didn't seem to work), and maybe implement some custom handling for JS extension if we don't find a solution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions