It's event.action, not event.type

This commit is contained in:
Ash Wilson 2019-01-15 15:52:08 -05:00
parent bdb694cd44
commit b4fa03a4a0
No known key found for this signature in database
GPG Key ID: 81B1DDB704F69D2A

View File

@ -204,7 +204,7 @@ class Project extends Model {
// // absolute path to the filesystem entry that was touched
// console.log(`Event path: ${event.path}`)
//
// if (event.type === 'renamed') {
// if (event.action === 'renamed') {
// console.log(`.. renamed from: ${event.oldPath}`)
// }
// }