write_to({
        path,
        file_name,
        write_delay,
        relative_errors,
        runtime_relative_errors,
    }) {
        // Determine write_to path
        if (typeof path !== 'string')
            throw new Error(
                `write_to(options) -> options.path is a required string`
            );
        this.#write_to.path = chunks_to_path(path_to_chunks(path));

        // Determine write_to file name or auto generate
        if (typeof file_name == 'string') {
            this.#write_to.file_name = file_name;
        } else {
            this.#write_to.file_name = `compiled_${this.#root_file.name}`;
        }

        // Set write_delay if it is a valid number type
        if (typeof write_delay == 'number')
            this.#write_to.write_delay = write_delay;

        // Set relative_errors if it is a valid boolean type
        if (typeof relative_errors == 'boolean')
            this.#write_to.relative_errors = relative_errors;

        // Set runtime_relative_errors if it is a valid boolean type
        if (typeof runtime_relative_errors == 'boolean')
            this.#write_to.runtime_relative_errors = runtime_relative_errors;
    }
/**
     * This method is used to initiate the hot reload compiled file writing sequence.
     *
     * @param {String} options.path
     * @param {String} options.file_name
     * @param {Number} options.write_delay
     * @param {Boolean} options.relative_errors
     */
This method is used to initiate the hot reload compiled file writing sequence.
This method is used to initiate the hot reload compiled file writing sequence .
write_to({
        path,
        file_name,
        write_delay,
        relative_errors,
        runtime_relative_errors,
    }) {
        if (typeof path !== 'string')
            throw new Error(
                `write_to(options) -> options.path is a required string`
            );
        this.#write_to.path = chunks_to_path(path_to_chunks(path));
        if (typeof file_name == 'string') {
            this.#write_to.file_name = file_name;
        } else {
            this.#write_to.file_name = `compiled_${this.#root_file.name}`;
        }
        if (typeof write_delay == 'number')
            this.#write_to.write_delay = write_delay;
        if (typeof relative_errors == 'boolean')
            this.#write_to.relative_errors = relative_errors;
        if (typeof runtime_relative_errors == 'boolean')
            this.#write_to.runtime_relative_errors = runtime_relative_errors;
    }
write_to ( { path , file_name , write_delay , relative_errors , runtime_relative_errors , } ) { if ( typeof path !== 'string' ) throw new Error ( ` ` ) ; this . #write_to . path = chunks_to_path ( path_to_chunks ( path ) ) ; if ( typeof file_name == 'string' ) { this . #write_to . file_name = file_name ; } else { this . #write_to . file_name = ` ${ this . #root_file . name } ` ; } if ( typeof write_delay == 'number' ) this . #write_to . write_delay = write_delay ; if ( typeof relative_errors == 'boolean' ) this . #write_to . relative_errors = relative_errors ; if ( typeof runtime_relative_errors == 'boolean' ) this . #write_to . runtime_relative_errors = runtime_relative_errors ; }
This method is used to initiate the hot reload compiled file writing sequence.
This method is used to initiate the hot reload compiled file writing sequence .
// Determine write_to path // Determine write_to file name or auto generate // Set write_delay if it is a valid number type // Set relative_errors if it is a valid boolean type // Set runtime_relative_errors if it is a valid boolean type