import {DirectoryWatcher} from "../helpers/directory_watcher"; import {workerData} from "worker_threads"; const { memoryManagerPath, applicationInfoPath, } = workerData; const backupDirectoryManager = new DirectoryWatcher(memoryManagerPath, applicationInfoPath, 'backupDirectory'); backupDirectoryManager.start(); const departmentShareManager = new DirectoryWatcher(memoryManagerPath, applicationInfoPath, 'departmentDirectory'); departmentShareManager.start(); const shareFileManager = new DirectoryWatcher(memoryManagerPath, applicationInfoPath, 'shareDirectory'); shareFileManager.start();