fixed the loading resource for dev mode
Merge pull request #1 from kdeng/master

fixed the loading resource for dev mode