yeoman-environment 4.1.2 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/environment-base.js +2 -1
- package/package.json +1 -1
package/dist/environment-base.js
CHANGED
|
@@ -611,7 +611,8 @@ export default class EnvironmentBase extends EventEmitter {
|
|
|
611
611
|
this.queueTask('environment:conflicts', async () => {
|
|
612
612
|
debug('Adding queueCommit listener');
|
|
613
613
|
// Conflicter can change files add listener before commit task.
|
|
614
|
-
const changedFileHandler = (
|
|
614
|
+
const changedFileHandler = (filePath) => {
|
|
615
|
+
const file = this.sharedFs.get(filePath);
|
|
615
616
|
if (isFilePending(file)) {
|
|
616
617
|
queueCommit();
|
|
617
618
|
this.sharedFs.removeListener('change', changedFileHandler);
|