Tuesday, 25 April 2017

Autoreload browser while developing with NodeJS, sass, njk

I'm developing something with Nunjucks and Nodejs.

I'm using nodemon to reload the NodeJS server when I edit my server.js, gulp-watch to build my scss files.

  • How to reload the browser when I edit the server.js ?
  • How to reload the browser when I edit any assets/sass/*scss files ?
  • How to reload the browser when I edit the views/*.njk files ?

I found on the web livereload and browser-sync to use with gulp, but I can't find a good documentation/tutorial to use it correctly.

Thanks



via Dlazzy

No comments:

Post a Comment