feat(frontends/lean/server): CLEAR_CACHE forces buffer to be reprocessed
This commit is contained in:
parent
f7e1b67f6c
commit
dc92f67588
1 changed files with 3 additions and 0 deletions
|
@ -872,7 +872,10 @@ bool server::operator()(std::istream & in) {
|
|||
read_line(in, line);
|
||||
eval(line);
|
||||
} else if (is_command(*g_clear_cache, line)) {
|
||||
interrupt_worker();
|
||||
m_cache.clear();
|
||||
if (m_file)
|
||||
process_from(0);
|
||||
} else if (is_command(*g_options, line)) {
|
||||
show_options();
|
||||
} else if (is_command(*g_wait, line)) {
|
||||
|
|
Loading…
Reference in a new issue