Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
🐛 Fix #501: fsDisp noTracking refresh on tab 0
Browse files Browse the repository at this point in the history
  • Loading branch information
GitSquared committed May 11, 2019
1 parent 315fe20 commit 53eb5ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/classes/filesystem.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ class FilesystemDisplay {
let num = window.currentTerm;

window.term[num].oncwdchange = cwd => {
// See #501
if (this._noTracking) return false;

if (cwd && window.currentTerm === num) {
if (this._fsWatcher) {
this._fsWatcher.close();
Expand Down

0 comments on commit 53eb5ed

Please sign in to comment.