# # # patch "src/model/InventoryWatcher.cpp" # from [97aa8b0436d8b7f8266607e25db57555bee4d1af] # to [f185f2db5e3e22e9d5fbdd66ece8414c8def3f5c] # ============================================================ --- src/model/InventoryWatcher.cpp 97aa8b0436d8b7f8266607e25db57555bee4d1af +++ src/model/InventoryWatcher.cpp f185f2db5e3e22e9d5fbdd66ece8414c8def3f5c @@ -19,6 +19,7 @@ #include "InventoryWatcher.h" #include "InventoryItem.h" #include "BasicIOParser.h" +#include "GuitoneCore.h" InventoryWatcher::InventoryWatcher(QObject * parent) : QFileSystemWatcher(parent), @@ -126,6 +127,13 @@ void InventoryWatcher::pathChanged(const return; } + if (path == ".mtn-ignore") + { + // automate stdio up until 0.46 needs to be restarted in order to + // pick up changes in .mtn-ignore + APP->manager()->stopWorkspaceThreads(workspace); + } + markPathForNotification( path.mid(path.indexOf(workspace) + workspace.length() + 1) );