This plugin allows you to create templates in Jade when developing templates on the Squarespace Developers Platform.
You will still need to include your compiled .region files in templates.conf.
npm install sqs-jade
npm install -g nodemonIn your index.js file require and invoke the compile script.
var compileJade = require('squarespace-jade');
compileJade();To run the jade compile script on file change, open a new terminal window and enter the following.
nodemon -e jade,jsIf you are using this in conjunction with squarespace-jade use the following command instead.
nodemon -e jade,stylus,jsNodemon watches for any changes to your template files and will automatically re-compile to the correct directory.