Skip to content

Commit b265d44

Browse files
aniketkudalekumar303
authored andcommitted
feat: Extension last reload time update (#707)
1 parent 7cfa289 commit b265d44

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/cmd/run.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export function defaultWatcherCreator(
5151
log.debug(`Reloading add-on ID ${addonId}`);
5252
return client.reloadAddon(addonId)
5353
.catch((error) => {
54+
log.error('\n');
5455
log.error(error.stack);
5556
throw error;
5657
});

src/firefox/remote.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,9 @@ export class RemoteFirefox {
171171
const addon = await this.getInstalledAddon(addonId);
172172
await this.checkForAddonReloading(addon);
173173
await this.addonRequest(addon, 'reload');
174-
log.info(
175-
`${(new Date()).toTimeString()}: Reloaded extension: ${addon.id}`);
174+
process.stdout.write(
175+
`\rLast extension reload: ${(new Date()).toTimeString()}`);
176+
log.debug('\n');
176177
}
177178
}
178179

0 commit comments

Comments
 (0)