import loading from './loading' ; class BalmCompiling { #firstCompile = true ; start ( ) { if ( this . #firstCompile ) { loading . render ( 'Compiling to JS...' ) ; } } stop ( ) { if ( this . #firstCompile ) { this . #firstCompile = false ; loading . clear ( ) ; } } } export default new BalmCompiling ( ) ;