Skip to content

Commit

Permalink
Watch compilation database file on rdm launch
Browse files Browse the repository at this point in the history
  • Loading branch information
jhanssen committed Nov 12, 2015
1 parent 336a5ca commit 7c94261
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Project.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ bool Project::init()
>> mCompilationDatabaseInfo.pathEnvironment
>> mCompilationDatabaseInfo.indexFlags;
}
if (!mCompilationDatabaseInfo.dir.isEmpty())
watch(mCompilationDatabaseInfo.dir, Watch_CompilationDatabase);
loadDependencies(file, mDependencies);

for (const auto &dep : mDependencies) {
Expand Down

0 comments on commit 7c94261

Please sign in to comment.