Closed shellRaining closed 3 months ago
Most languages do not have automatic reload enabled. Can you be more specific?
I use javascript to solve some algorithm problem, when I write
function sum(a, b) {
return a + b
}
console(sum(1, 2))
and use command RunCode
, the result will show, then change the origin file, the code will rerun
In your code runner plugin config setup add the key hot_reload
:
require('code_runner').setup({
hot_reload = false,
filetype = {
auto reload indeed very convenient when solve algorithm problem, but sometimes I just want to run this code once. may I ask how to disable this feature? thanks