diff --git a/packages/synchronizer/src/index.ts b/packages/synchronizer/src/index.ts index 032c3e4a..1b8db714 100644 --- a/packages/synchronizer/src/index.ts +++ b/packages/synchronizer/src/index.ts @@ -11,6 +11,7 @@ export * from './models/user.js'; export * from './utils/authenticator.js'; export * from './utils/fetcher.js'; export * from './utils/synchronizer.js'; +export * from './utils/projectSynchronizer.js'; export * from './constants.js'; diff --git a/packages/synchronizer/src/utils/projectSynchronizer.ts b/packages/synchronizer/src/utils/projectSynchronizer.ts index b54ff4e8..40ac155d 100644 --- a/packages/synchronizer/src/utils/projectSynchronizer.ts +++ b/packages/synchronizer/src/utils/projectSynchronizer.ts @@ -112,6 +112,8 @@ export class ProjectSynchronizer extends EventEmitter { if (!policyPath) { throw new Error(`Error storing policy in local filesystem.`); } + + this.emit('synchronized'); } }