Chrome's "Auto-Reload Generated CSS" not reloading page when SASS recompiles CSS Chrome's "Auto-Reload Generated CSS" not reloading page when SASS recompiles CSS google-chrome google-chrome

Chrome's "Auto-Reload Generated CSS" not reloading page when SASS recompiles CSS


I used drupal in this case and drupal generate css link like 'style.css?abc'. Problem in this suffix '?abc'. You need to start file mapping from LOCAL (press right-click on local) 'style.css' to WEB 'style.css?abc' (shown in list). Not from WEB to LOCAL. If result is correct WEB-links disappears from list in 'resourses' tab.


here is a good solution, to avoid this mapping issue of .css?201203241721 / .js?201203241721-files as szdv mentioned with drupal. I have had it with typo3 and this solved it:

    /* remove in production *************************************************/    //filter typo3 temp file src/href with ?date ending for chrome workspaces    $('script, link').each(function(){        rpString = /\?[0-9]*/;        if(this.src){            this.src = this.src.replace(rpString,'');        }        if(this.href){            this.href = this.href.replace(rpString,'');        }    });    /* ******************** *************************************************/