martin-pabst / Online-IDE-new-compiler

Online-IDE with new compiler
GNU General Public License v3.0
1 stars 0 forks source link

startCompilingPeriodically #22

Closed fjf2002 closed 2 weeks ago

fjf2002 commented 3 weeks ago

I think you should trigger a compile on editor content change or save events, not loop inside startCompilingPeriodically forever.

Of course, the editor change events would have to be "de-bounced" - i. e. do not trigger a compile on each key press, but only after some defined timespan after the last compile.

I could implement that.

martin-pabst commented 3 weeks ago

This would clearly be an improvement!