First, disable the software wdt using ESP.wdtDisable()
void hw_wdt_disable(){
*((volatile uint32_t*) 0x60000900) &= ~(1); // Hardware WDT OFF
}
void hw_wdt_enable(){
*((volatile uint32_t*) 0x60000900) |= 1; // Hardware WDT ON
}
And this is it, you will no longer experience resets if you don't feed the watchdog