Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ember Cli Windows #891

Closed
zAPFy opened this issue May 23, 2016 · 9 comments
Closed

Ember Cli Windows #891

zAPFy opened this issue May 23, 2016 · 9 comments

Comments

@zAPFy
Copy link

zAPFy commented May 23, 2016

I have experienced rather sluggish behavior using the angular cli on windows 10.

My understanding is that the angular-cli is based on ember-cli.

After some research I found information suggesting this is because of broccoli being porly optimised on windows (or windows being poorly built, depending on how you look at it).

It seems like using a package called ember-cli-windows would solve some of the problems on windows.
Would this package work with Angular CLI?

They also say its avalible as a Ember addon so maybe you could ship it with the CLI?

@braindroplabs
Copy link

@axal90 are you referring to cpu spikes? I've noticed this when I have the cli open with ng serve.

@zAPFy
Copy link
Author

zAPFy commented May 23, 2016

@braindroplabs I haven't done any profiling.
But I assume the cpu would spike due to the immense workload from copying and indexing all files.

My understanding is that symlinks don't work properly on windows so broccoli end up copying a huge amount of files every time you compile. Due to windows search index and other windows features, copying large amount of files is extremely slow on windows.
Ember-cli-windows sets up the proper settings for your working folder, speeding things up immensly.

@filipesilva
Copy link
Contributor

It should be pretty fast if you're running in admin mode. Can you show me the situations where you find it slow?

@zAPFy
Copy link
Author

zAPFy commented May 26, 2016

Yes running the cli with elevated privliges does speed it up a bit. But it is still far slower than any other build tool I've used (grunt, gulp, webpack...). I'll try to do a clean install and see if anything changes. but doing some research it seems to be a known problem with ember cli and windows.

@jmurphzyo
Copy link

You should see what happens when you're using tfs as source control and coding with visual studio.... complete lock ups.

@RobCannon
Copy link

I have found that storing my source code outside of my user directory seems to alleviate this (i.e c:\Projects). But I still need to be in an elevated session because of other Brocoli errors.

@filipesilva
Copy link
Contributor

#905 should allow non-admin user usage.

@filipesilva
Copy link
Contributor

Looking through https://github.com/felixrieseberg/ember-cli-windows, it seems it requires both Powershell and perhaps also to run a Powershell command as an admin for it to run (which we can't do automatically).

I don't think we should add these baseline for everyone, but it's still good that it can be used in separate.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants