Search code examples
windowsember-cli

Why is my ember-cli build time so slow on windows?


Ember-cli is building very slowly with ember server on windows.

Build successful - 13126ms.

Slowest Trees                  | Total
-------------------------------+----------------
TreeMerger (vendor)            | 3154ms
TreeMerger (stylesAndVendor)   | 2051ms
TreeMerger (appAndDependencies) | 1914ms
StaticCompiler                 | 1791ms

This is in contrast to the same project building in less that 1 second on a linux box.


Solution

  • Official recommendation from ember-cli to improve its performance on windows

    Install ember-cli-windows with node using the below command

    npm install -g ember-cli-windows

    Run the following command on your project root folder

    ember-cli-windows