Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

38 lines (30 sloc) 1.24 KB
title short-title description
dartdevc: the Dart dev compiler
Fast, modular compilation of Dart code to JavaScript.

The Dart development compiler (dartdevc, also known as DDC) lets you run and debug your Dart web app in any modern web browser.

**Note:** The dartdevc compiler is for _development_ only. Continue to use [dart2js](/tools/dart2js) to compile for [deployment]({{site.angulardart}}/guide/deployment).

Unlike dart2js, dartdevc supports incremental compilation and emits modular JavaScript. With a tool like webdev serve that uses dartdevc, you can edit your Dart files, refresh in Chrome, and see your edits almost immediately. This speed is possible because dartdevc compiles only updated modules, not all the packages that your app depends on.

The first compilation with dartdevc takes the longest, because the entire app must be compiled. After that, as long as the serve command keeps running, refresh times with dartdevc are much faster than with dart2js.

More information

You can’t perform that action at this time.