Noah
Noah copied to clipboard
dist/js Files Update Only After 2 Saves
I'm working with just one JS file and any changes made have to be saved twice before they show up when browsersync updates the browser. Easily reproducible by putting an alert box that fires on load and toggling comments on it:
var Main = (function() {
document.addEventListener('DOMContentLoaded', function(event) {
//alert('hello alert!');
});
})();
*Note: I turned off karma test task but I don't know if that has anything to do with it.
I'm using Windows 7 x64 to develop (don't question me!), and I can't simulate this bug. I'm not using Karma too.
Snap, I have to use Windows 7 at work :) Thanks for the feedback regarding this issue.