@graphql-codegen/cli@7.3.1
Patch Changes
-
#10924
0c8f5ba
Thanks @eddeee888! - Fix profiler output not being written to the
filesystem in watch mode (--profile --watch)The profiler trace was only written on the non-watch code path, after the watch-mode early return,
so a profiled watch session never produced acodegen-*.jsonfile.The profiler now writes a fresh trace file after the initial run and after every rebuild, with
each file containing only that run's events. A failed rebuild does not produce a trace and its
events are discarded so they don't leak into the next successful run.The
Profilernow owns its own trace lifecycle:- a new
clear()method starts a new trace - a new
outputNameproperty provides the filename for the current trace (nullfor the noop
profiler) - filename generation was removed from
CodegenContext
- a new
-
Updated dependencies
[0c8f5ba]:- @graphql-codegen/plugin-helpers@7.2.1
@graphql-codegen/plugin-helpers@7.2.1
Patch Changes
-
#10924
0c8f5ba
Thanks @eddeee888! - Fix profiler output not being written to the
filesystem in watch mode (--profile --watch)The profiler trace was only written on the non-watch code path, after the watch-mode early return,
so a profiled watch session never produced acodegen-*.jsonfile.The profiler now writes a fresh trace file after the initial run and after every rebuild, with
each file containing only that run's events. A failed rebuild does not produce a trace and its
events are discarded so they don't leak into the next successful run.The
Profilernow owns its own trace lifecycle:- a new
clear()method starts a new trace - a new
outputNameproperty provides the filename for the current trace (nullfor the noop
profiler) - filename generation was removed from
CodegenContext
- a new