express-hot-reload
express-hot-reload copied to clipboard
acceptedDependecies cannot be directly in accept()?
Just found a weird bug. My routes weren't registering after erasing. Found out that writing module.hot.accept(['./myroutes'])
doesn't work, and var myroutes = ['./myroutes']; module.hot.accept(myroutes)
does. Why would this be?