Skip to content

Instantly share code, notes, and snippets.

@jakemac53
Last active May 16, 2017 17:35
Show Gist options
  • Save jakemac53/69bfe11e46849ca503e876a853ee7108 to your computer and use it in GitHub Desktop.
Save jakemac53/69bfe11e46849ca503e876a853ee7108 to your computer and use it in GitHub Desktop.

First, you will need to add a git dependency on pub to your pubspec.yaml:

dev_dependencies:
  pub:
    git:
      url: https://github.com/dart-lang/pub/
      ref: master

Then, you can just run pub run pub serve --compiler=dartdevc and it will use ddc instead of dart2js.

A couple notes:

  • This requires the latest dev sdk
  • Hasn't been tested really on windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment