pug - Jade - Using --watch doesn't trigger refresh from includes -


i have simple project trying work with.

doctype html html(lang="en")   include ./inc/head.jade  body   include ./inc/various.jade   include ./inc/types.jade   include ./inc/of.jade   include ./inc/things.jade 

using commmand watch jade -w index.jade

i expect change 'things.jade' trigger refresh 'index.jade'. not. missing? don't want call watch command each time need refresh on index.jade.

desired workflow:

save change in things.jade > triggers refresh index.jade 

current problem:

save change in things.jade > switch terminal > control+c  kill watch on index.jade > jade -w index.html 

i have seen question now, hope got fixed.
seems require 'livereload' watch changes when save file reload browser.

if using task runner example 'gulp' recommend using 'gulp-connect' runs local web server using 'livereload'

using technique not have call watch command each time need refresh on index.jade


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -