How do I run Dartium in a different process from an existing Chromium instance?

60 Views Asked by At

For example, if I already have a chromium running, and I try to run Dartium (a special developer-only version of Chrome with the Dart VM embedded), it opens a new tap or window in my existing chromium instance.

1

There are 1 best solutions below

0
matanlurey On

You can use the --user-data-dir Chromium flag to isolate Dartium and force it to run in a new process/window. For example:

$ chrome --user-data-dir=/tmp/dartium

The new DartDevCompiler will allow you to just simply use a major browser, like Chrome, for development, instead of relying on Dartium - with a fast edit-refresh cycle that compiles .dart to idiomatic ES6 .js.