Skip to content

Commit 97887e1

Browse files
authored
Build graphs on regular executions (#243)
1 parent 06b224b commit 97887e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/src/handlers/validationHandler.ts

+4
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ export class ValidationHandler extends YamlValidationHandler {
117117
const cfnLintExec = cfnLint.exec();
118118
cfnLintExec.then(value => {
119119
this.cfnConnection.sendDiagnostics({ uri: uri.toString(), diagnostics: value });
120+
if (this.cfnSettings.isPreviewing[uri]) {
121+
this.cfnConnection.console.log('preview file is available');
122+
this.cfnConnection.sendNotification('cfn/previewIsAvailable', uri);
123+
}
120124
resolve(value);
121125
});
122126
cfnLintExec.catch(value => {

0 commit comments

Comments
 (0)