function afterEmit(compilation, callback) {
		let compilationFileDependencies;
		if (Array.isArray(compilation.fileDependencies)) {
			compilationFileDependencies = new Set(compilation.fileDependencies);
		} else {
			compilationFileDependencies = compilation.fileDependencies;
		}

		this.modifiedFiles
			.filter(file => !compilationFileDependencies.has(file))
			.forEach(file => compilation.fileDependencies.add(file));
		if (!compilationFileDependencies.has(cmfconfigPath)) {
			compilation.fileDependencies.add(cmfconfigPath);
		}
		callback();
	}
/**
	 * Register the cmf settings files in the watched files.
	 * So every change will trigger a new webpack run.
	 */
Register the cmf settings files in the watched files.
So every change will trigger a new webpack run.
Register the cmf settings files in the watched files . So every change will trigger a new webpack run .
function afterEmit(compilation, callback) {
		let compilationFileDependencies;
		if (Array.isArray(compilation.fileDependencies)) {
			compilationFileDependencies = new Set(compilation.fileDependencies);
		} else {
			compilationFileDependencies = compilation.fileDependencies;
		}
		this.modifiedFiles
			.filter(file => !compilationFileDependencies.has(file))
			.forEach(file => compilation.fileDependencies.add(file));
		if (!compilationFileDependencies.has(cmfconfigPath)) {
			compilation.fileDependencies.add(cmfconfigPath);
		}
		callback();
	}
function afterEmit ( compilation , callback ) { let compilationFileDependencies ; if ( Array . isArray ( compilation . fileDependencies ) ) { compilationFileDependencies = new Set ( compilation . fileDependencies ) ; } else { compilationFileDependencies = compilation . fileDependencies ; } this . modifiedFiles . filter ( file => ! compilationFileDependencies . has ( file ) ) . forEach ( file => compilation . fileDependencies . add ( file ) ) ; if ( ! compilationFileDependencies . has ( cmfconfigPath ) ) { compilation . fileDependencies . add ( cmfconfigPath ) ; } callback ( ) ; }
Register the cmf settings files in the watched files.
Register the cmf settings files in the watched files .