martin-pabst / Online-IDE-new-compiler

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

startCompilingPeriodically #22

Open fjf2002 opened 1 day ago

fjf2002 commented 1 day 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 8 hours ago

This would clearly be an improvement!