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

Slow Server rechecks #176

Closed
moroine opened this issue Aug 17, 2020 · 1 comment
Closed

Slow Server rechecks #176

moroine opened this issue Aug 17, 2020 · 1 comment

Comments

@moroine
Copy link

moroine commented Aug 17, 2020

I'm currently experiencing slow recheck issues (it's 10x faster to just stop & start).

Flow version: 0.131.0 using types-first

.flowconfig

[ignore]
; ignore is using regex syntax
<PROJECT_ROOT>/\.circleci/.*
<PROJECT_ROOT>/config/.*
<PROJECT_ROOT>/dist/.*
<PROJECT_ROOT>/public/.*
<PROJECT_ROOT>/coverage/.*
<PROJECT_ROOT>/\..*/.*
<PROJECT_ROOT>/node_modules/.*
!<PROJECT_ROOT>/node_modules/date-fns/.*
!<PROJECT_ROOT>/node_modules/date-fns-tz/.*
!<PROJECT_ROOT>/node_modules/@nugit/.*
<PROJECT_ROOT>/node_modules/@nugit/.*\.test\.js

[include]
; include is using path (no regex)

[libs]
; libs is using path (no regex)
flow-typed

[lints]
all=error
deprecated-utility=error
implicit-inexact-object=error
ambiguous-object-type=error
sketchy-null=warn
deprecated-type=warn
unclear-type=warn
untyped-import=warn
unsafe-getters-setters=warn

[declarations]
; declarations is using regex syntax

[untyped]
; untyped is using regex syntax

[options]
; traces=3
module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.mjs
module.file_ext=.json
module.file_ext=.styl
module.file_ext=.gql
module.name_mapper.extension='styl' -> 'StylModule'
module.name_mapper='^@nugit/types' -> '<PROJECT_ROOT>/node_modules/@nugit/types'
module.name_mapper='^@nugit/logger-service' -> '<PROJECT_ROOT>/node_modules/@nugit/logger-service/src/index.js'
module.name_mapper='^@nugit/env-service' -> '<PROJECT_ROOT>/node_modules/@nugit/env-service/src/index.js'
module.name_mapper='^@nugit/cache-service' -> '<PROJECT_ROOT>/node_modules/@nugit/cache-service/src/index.js'
module.name_mapper='^@nugit/core-service' -> '<PROJECT_ROOT>/node_modules/@nugit/core-service/src/index.js'
module.name_mapper='^@nugit/request-service' -> '<PROJECT_ROOT>/node_modules/@nugit/request-service/src/index.js'
module.name_mapper='^[$]public' -> '<PROJECT_ROOT>/public'
module.name_mapper='^[$]src' -> '<PROJECT_ROOT>/src'
module.name_mapper='^[$]constants' -> '<PROJECT_ROOT>/source/constants'
module.name_mapper='^[$]util' -> '<PROJECT_ROOT>/source/util'
module.name_mapper='^[$]theme' -> '<PROJECT_ROOT>/source/theme'
module.name_mapper='^[$]service' -> '<PROJECT_ROOT>/source/service'
module.name_mapper='^[$]processors' -> '<PROJECT_ROOT>/source/service/processors'
module.name_mapper='^[$]metadata' -> '<PROJECT_ROOT>/source/metadata'
module.name_mapper='^[$]icons' -> '<PROJECT_ROOT>/source/component/icons'
module.name_mapper='^[$]generalNugits' -> '<PROJECT_ROOT>/source/component/general'
module.name_mapper='^[$]nugits' -> '<PROJECT_ROOT>/source/component/nugits'
module.name_mapper='^[$]nugitsCommon' -> '<PROJECT_ROOT>/source/component/nugits/Common'
module.name_mapper='^[$]widget' -> '<PROJECT_ROOT>/source/component/widget'
module.name_mapper='^[$]types' -> '<PROJECT_ROOT>/src/types'
exact_by_default=true
experimental.const_params=true
munge_underscores=true
esproposal.optional_chaining=enable
; include_warnings=true
well_formed_exports=true
types_first=true

[strict]
nonstrict-import
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import

I ran the server using flow start --debug --profile, and here are my logs:
log
monitor

Also I'm using https://github.com/flowtype/flow-for-vscode extension, I found out removing option Run On Edit helped but not totally. (logs here are with check on save only).

@mroch
Copy link
Contributor

mroch commented Mar 18, 2022

Closing out old issues. This repository is just packaging prebuilt binaries. Please report issues with Flow itself on facebook/flow

@mroch mroch closed this as completed Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants