We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f5fbf3 + 4260f63 commit aed82caCopy full SHA for aed82ca
src/drive.ts
@@ -217,7 +217,16 @@ export class FileSystemDrive implements Contents.IDrive {
217
218
await this.delete(oldPath);
219
220
- return this.get(newPath);
+ const data = this.get(newPath);
221
+ data.then(model => {
222
+ this._fileChanged.emit({
223
+ type: 'rename',
224
+ oldValue: { path: oldPath },
225
+ newValue: model
226
+ });
227
228
+
229
+ return data;
230
}
231
232
async save(
0 commit comments