feat(frontends/lean/server): CLEAR_CACHE forces buffer to be reprocessed

This commit is contained in:
Leonardo de Moura 2014-10-06 08:42:20 -07:00
parent f7e1b67f6c
commit dc92f67588

View file

@ -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)) {