Git Product home page Git Product logo

ember-cli-windows's Introduction

Automatically Configure Windows for Ember Cli Performance

npm version dependencies Dramatically improve build speed during ember build and ember serve!

Ember and Ember Cli are some of the best tools for the development of sophisticated web applications. A lot of its magic is in the automatic build tool, which also allows for incremental builds during development. Those builds can be a bit slow on Windows - correct configuration of Windows Defender and the Windows Search Index improve the speed dramatically. Made with ❤️ by Microsoft.

To optimize speed for a project, use Powershell to run the following from the root of your Ember Cli project:

npm install ember-cli-windows -g
ember-cli-windows

Parameters and Configuration

Usage:

ember-cli-windows [options]

If you run ember-cli-windows without any parameters, it will first prompt for confirmation, and then automatically configure Windows Defender and Windows Search for the current directory.

Options:

-h, --help      Output usage information
-V, --version   Output the version number
-D, --defender  Configure Windows Defender
-S, --search    Configure Windows Search
-H, --headless  Run without prompting for confirmation

Should you get a PSSecurityException, allow your PowerShell to execute the script by running the following command from an elevated PowerShell. To run PowerShell as Administrator, click Start, search for PowerShell, right-click PowerShell and select Run as Administrator.

Set-ExecutionPolicy Unrestricted -scope Process
ember-cli-windows

Run Ember Cli as Administrator

Additional performance can be gained by using an elevated prompt, which can be achieved by starting PowerShell or CMD ‘as Administrator’. If you do not have administrative rights on your machine, see the Ember Cli section on symlinks for information on how to enable additional performance gains.

Ember Addon

This tool is also available as an Ember Addon, allowing you to ship the 'optimizing for Windows' capabilities with your project. For more information, check out the addon here.

Requirements

Windows 8, Windows 8.1 or Windows 10 heavily recommended. This script still works on Windows 7, thanks to a small hack by Benjamin Schuedzig.

License

MIT License, Copyright 2015 Felix Rieseberg & Microsoft. See LICENSE for more information.

ember-cli-windows's People

Contributors

barneycarroll avatar bschuedzig avatar deeksy avatar felixrieseberg avatar jackbennett avatar jornh avatar kellyselden avatar petetnt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.