captbaritone / grats

Implementation-First GraphQL for TypeScript

Home Page:https://grats.capt.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make --watch mode more incremental

captbaritone opened this issue · comments

To start with, ideally we don't need to re-extract from files that have not changed

The most promising looking thing so far is these two methods on ts.LanguageServiceHost:

  1. .getProjectVersion()
  2. .getScriptVersion()

I suspect these will let me track changes more incrementally.