fix(shell): use --server for .hlean files
This commit is contained in:
parent
53d6d76162
commit
effbf78d36
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ int main(int argc, char ** argv) {
|
||||||
lean::display_error(diagnostic(env, ios), &pp, ex);
|
lean::display_error(diagnostic(env, ios), &pp, ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (ok && server && default_k == input_kind::Lean) {
|
if (ok && server && (default_k == input_kind::Lean || default_k == input_kind::HLean)) {
|
||||||
signal(SIGINT, on_ctrl_c);
|
signal(SIGINT, on_ctrl_c);
|
||||||
ios.set_option(lean::name("pp", "beta"), true);
|
ios.set_option(lean::name("pp", "beta"), true);
|
||||||
lean::server Sv(env, ios, num_threads);
|
lean::server Sv(env, ios, num_threads);
|
||||||
|
|
Loading…
Reference in a new issue