ESP 8266 WDT reset after uploading sketches

a wdt reset typically results from code being in a loop without ever resetting the wdt as done by delay() or yield() (or ending and restarting loop() which incurs yield() )
Please share your code.