Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
f3baccb1
Commit
f3baccb1
authored
Nov 07, 2018
by
Lukas Sommer
Browse files
Clear reports and restart directory watching if core directory is changed;
parent
8a46cd6a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/scala/tapasco/filemgmt/FileAssetManager.scala
View file @
f3baccb1
...
...
@@ -107,7 +107,7 @@ final object FileAssetManager extends Publisher {
def
update
(
e
:
BasePathManager.Event
)
:
Unit
=
e
match
{
case
BasePathManager
.
BasePathChanged
(
base
,
path
)
=>
_dirs
.
synchronized
{
_dirs
+=
base
->
path
}
if
(
e
equals
Entities
.
Cores
)
reports
.
clear
(
Some
(
Set
(
path
)))
if
(
bas
e
equals
Entities
.
Cores
)
reports
.
clear
(
Some
(
Set
(
path
)))
restartWatcher
()
publish
(
Events
.
BasePathChanged
(
base
,
path
))
}
...
...
Lukas Sommer
@ls
mentioned in issue
#153 (closed)
·
Jan 22, 2019
mentioned in issue
#153 (closed)
mentioned in issue #153
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment