dev: hot reload only main css, (not fonts)
This commit is contained in:
parent
a83ff2b246
commit
07529b9753
2 changed files with 2 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ var callbacks = module.exports = {
|
|||
|
||||
reloadCss: function(){
|
||||
var queryString = '?reload=' + new Date().getTime();
|
||||
$('link[rel="stylesheet"]').each(function () {
|
||||
$('link[rel="stylesheet"][hot-reload]').each(function () {
|
||||
this.href = this.href.replace(/\?.*|$/, queryString);
|
||||
});
|
||||
setTimeout(()=>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue