0

I'm taking some baby steps with figwheel.

When I fire up the tutorial application, it starts firefox, which then connects back to the figwheel process to get code to run on its JavaScript engine. If firefox is already running, a new tab is opened and the connection proceeds likewise. Figwheel probably just executes the firefox command with appropriate options. Or maybe it is using xdg-open.

The system is a Fedora Linux with KDE. Interestingly a "default browser" is not currently configured (how to configure the default browser is described in these KDE help pages): the application to start is selected based on URL contents. So I am not sure why figwheel selects firefox instead of Google Chrome, also installed.

Web Browser is selected based on this config

Now, for testing purposes I sometimes want figwheeel to use a Google Chrome process instead. Is there a way to do that?

There seems to be no option regarding this.

David Tonhofer
  • 14,559
  • 5
  • 55
  • 51

1 Answers1

0

You can use figwheel's :launch-js option to define what action should be taken for example:

:launch-js ["chrome" "--repl" :open-url]