From the manual
Code:
The Watchdog Timer is used in conjunction with the SLEEP and NAP
instructions to wake the PICmicro MCU after a certain period of time.
You need to enable the WDT. How about trying this
@device 18F4550, WDT_ON

I do not know if this will work as I've not checked