watch marks a new frame on every recompilation

This commit is contained in:
Lee Cannon 2021-10-31 14:35:36 +00:00
parent 8a3a6a98aa
commit 2d1efba8c5

View File

@ -2304,6 +2304,7 @@ fn buildOutputType(
last_cmd = cmd;
switch (cmd) {
.update => {
tracy.frameMark();
if (output_mode == .Exe) {
try comp.makeBinFileWritable();
}
@ -2316,6 +2317,7 @@ fn buildOutputType(
try stderr.writeAll(repl_help);
},
.run => {
tracy.frameMark();
try runOrTest(
comp,
gpa,
@ -2332,6 +2334,7 @@ fn buildOutputType(
);
},
.update_and_run => {
tracy.frameMark();
if (output_mode == .Exe) {
try comp.makeBinFileWritable();
}