private void WatcherOnChange(string path)
        {
            Logger.Info(this, "Detected that package " + path + " was changed");
            Package newPackage = FilePackage.Open(path);

            this.Update(newPackage);
        }
		public static Package Open(string path) {
			FilePackage package = new FilePackage {
				_path = System.IO.Path.GetFullPath(path),
				Source = path
			};
			return (package);
		}
Exemple #3
0
        public static Package Open(string path)
        {
            FilePackage package = new FilePackage {
                _path  = System.IO.Path.GetFullPath(path),
                Source = path
            };

            return(package);
        }