express-hot-reload icon indicating copy to clipboard operation
express-hot-reload copied to clipboard

acceptedDependecies cannot be directly in accept()?

Open laurenskling opened this issue 7 years ago • 0 comments

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?

laurenskling avatar Aug 30 '16 08:08 laurenskling