public void Run()
        {
            _vehiclesWatchService.StartWatching();

            if (!Directory.Exists(Statics.MicrocontrollerPath))
            {
                Console.WriteLine($"Could not find microcontroller folder: {Statics.MicrocontrollerPath}");
                Console.ReadKey();
                return;
            }

            if (!Directory.Exists(Statics.LocalEditDirectory))
            {
                Directory.CreateDirectory(Statics.LocalEditDirectory);
            }

            if (!Directory.Exists(Statics.LocalBackupDirectory))
            {
                Directory.CreateDirectory(Statics.LocalBackupDirectory);
            }

            WriteExistingMicrocontrollerScripts();

            var workspaceLuaWatcher = new BufferedFileSystemWatcher(Statics.LocalEditDirectory, "*.lua");

            workspaceLuaWatcher.Changed += LocalLuaFileChanged;

            Console.WriteLine($"Watching directory: {Statics.MicrocontrollerPath}");

            Console.ReadKey();
        }
        public void StartWatching()
        {
            var processorsXmlWatcher = new BufferedFileSystemWatcher(Statics.MicrocontrollerPath, "*.xml");

            processorsXmlWatcher.Created += MicrocontrollerXmlFileAdded;
            processorsXmlWatcher.Changed += MicrocontrollerXmlFileChanged;
            processorsXmlWatcher.Deleted += MicrocontrollerXmlFileDeleted;
        }