@Override
	public final void watch(FileLocation location, FileConfigGroup fileConfigGroup) throws InvalidPathException {
		// Register file change listener
		try {
			watcher = FileSystems.getDefault().newWatchService();
			Path path = getPath(location).toAbsolutePath();

			path.getParent().register(watcher, StandardWatchEventKinds.ENTRY_MODIFY);
			new Thread(new FileChangeEventListener(watcher, fileConfigGroup, path)).start();
		} catch (IOException e) {
			throw new InvalidPathException(e);
		} catch (UnsupportedOperationException e){

		}
	}
@author <a href="mailto:wangyuxuan@dangdang.com">Yuxuan Wang</a>
config-toolkit/src/main/java/com/dangdang/config/service/file/protocol/LocalFileProtocol.java