bencodezen / vue-enterprise-boilerplate

An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.
7.78k stars 1.32k forks source link

Recompile making development slow #28

Closed jnarowski closed 6 years ago

jnarowski commented 6 years ago

Not sure if this is a vue-cli 3 or vue-enterprise-boilerplate issue, but it now takes me about 7 seconds every time I save (to recompile the files).

I'm using this boilerplate in a large, enterprise application. Before with my previous config, it would only reprocess the file that changed, making hot reload and app updates take seconds (if not milliseconds).

Is there some settings that we can adjust to make saving only recompile the file at hand when in development mode?

I'm currently just running the app with yarn dev

jnarowski commented 6 years ago

I also tried disabling lintOnSave thinking it might be linting and that seemed to have no effect on speed.

jnarowski commented 6 years ago

I think I've narrowed it down to my scss. It seems to reprocess my entire file every reload, even if nothing has changed.

jnarowski commented 6 years ago

I thought it was boilerplate related but it seems like a dependency issue on my side. It still does seem like it processes external css (from npm modules) a lot slower, and every time. So it still might be something worth looking at.