Skip to content

Atom freezing for 10 minutes (while building type information?) #148

Closed
@rcollette

Description

@rcollette

Atom is freezing on me for about 10 minutes when I open a project and do the following actions. (i7 processor, windows 7)

In the project directory here:
https://github.com/rcollette/RequireAngularTS/tree/master/RequestAngularTS.Web

When I open a .ts file from the project, atom starts using about 6-7%cpu.

I tried a tsconfig.json file with just {} in it. I typed angular. got no typeahead after typing the period, then backspaced and atom froze. It was running at a steady 6%.

I then used the following config to attempt to narrow down the list of files, in case it was looking at too much.

{
    "compilerOptions": {},
    "filesGlob": [
        "./**/*.ts",
        "!./node_modules/**/*.ts"
    ],
}

It froze again after typing in angular. and then backspacing but it did update the list of files so the config now looks like:

{
    "compilerOptions": {},
    "filesGlob": [
        "./**/*.ts",
        "!./node_modules/**/*.ts"
    ],
    "files": [
        "./app/blocks/router/RouteResolver.provider.ts",
        "./app/blocks/router/block.router.module.ts",
        "./app/blocks/validation/ServerErrorDirective.ts",
        "./app/blocks/validation/block.validation.module.ts",
        "./app/directives/HtmlTemplate/HtmlTemplate.directive.ts",
        "./app/interfaces/FeatureController.I.ts",
        "./app/interfaces/PagebleT.I.ts",
        "./app/main.ts",
        "./app/modules/App/App.controller.ts",
        "./app/modules/App/App.module.ts",
        "./app/modules/App/App.routes.ts",
        "./app/modules/Core/App.Core.module.ts",
        "./app/modules/PurchaseOrder/PurchaseOrder.controller.ts",
        "./app/modules/PurchaseOrder/PurchaseOrder.module.ts",
        "./app/modules/PurchaseOrder/PurchaseOrder.service.ts",
        "./app/modules/PurchaseOrder/PurchaseOrders.controller.ts",
        "./app/modules/Vendor/Vendor.module.ts",
        "./app/modules/Vendor/Vendor.spec.ts",
        "./app/modules/Vendor/Vendors.controller.ts",
        "./dist/blocks/router/RouteResolver.provider.ts",
        "./dist/blocks/router/blocks.router.module.ts",
        "./dist/directives/HtmlTemplate/HtmlTemplate.directive.ts",
        "./dist/directives/ModelValidatorDirective.ts",
        "./dist/interfaces/FeatureController.I.ts",
        "./dist/interfaces/PagebleT.I.ts",
        "./dist/main.ts",
        "./dist/modules/App/App.controller.ts",
        "./dist/modules/App/App.module.ts",
        "./dist/modules/App/App.routes.ts",
        "./dist/modules/Core/App.Core.module.ts",
        "./dist/modules/PurchaseOrder/PurchaseOrder.controller.ts",
        "./dist/modules/PurchaseOrder/PurchaseOrder.module.ts",
        "./dist/modules/PurchaseOrder/PurchaseOrder.service.ts",
        "./dist/modules/PurchaseOrder/PurchaseOrders.controller.ts",
        "./dist/modules/Vendor/Vendor.module.ts",
        "./dist/modules/Vendor/Vendor.spec.ts",
        "./dist/modules/Vendor/Vendors.controller.ts",
        "./typings/angularjs/angular-animate.d.ts",
        "./typings/angularjs/angular-cookies.d.ts",
        "./typings/angularjs/angular-resource.d.ts",
        "./typings/angularjs/angular-route.d.ts",
        "./typings/angularjs/angular-sanitize.d.ts",
        "./typings/angularjs/angular.d.ts",
        "./typings/jquery/jquery.d.ts",
        "./typings/modernizr/modernizr.d.ts",
        "./typings/moment/moment.d.ts",
        "./typings/requirejs/require.d.ts",
        "./typings/tsd.d.ts"
    ]
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions