You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to trigger changes in js, scss and html separately? It would be useful to make a change in a Javascript file and make grunt lint and reload, whereas if I change a SCSS file I just want to convert to CSS and reload. That way reloads would perform faster.
Something like (following code will not work):
watchcss:{files:['sources/compass/*.scss'],tasks:'sass reload'},watchjs:{files:['sources/js/ours/*.js'],tasks:'lint concat min reload'},watchpage:{files:['index.html'],tasks:'reload'}// more stuff heregrunt.registerTask('default','server reload watchcss watchjs watchpage');
Thank you
The text was updated successfully, but these errors were encountered:
Correct me if I'm wrong, but it seems there's no way to get it to ONLY refresh the CSS (when *.less) files change. Even with @disusered gruntfile it still reloads the entire page, right? You'd want it to just re-apply the latest CSS, not re-load the HTML/JS/location.reload()
Hi,
Is there a way to trigger changes in js, scss and html separately? It would be useful to make a change in a Javascript file and make grunt lint and reload, whereas if I change a SCSS file I just want to convert to CSS and reload. That way reloads would perform faster.
Something like (following code will not work):
Thank you
The text was updated successfully, but these errors were encountered: