How do you set up Jade file watcher in Webstorm?
Asked Answered
R

1

8

I set up a Jade file watcher in the following way in WebStorm. However it does not produces any HTML files.

How is it possible to convert Jade file to HTML file with WebStorm 9.0.3?

Ritter answered 31/1, 2015 at 1:15 Comment(0)
P
14

You have specified a wrong path to Jade in a Program field. Do you have Jade installed globally? Please run 'npm install jade -g', then test jade in your system terminal by running 'jade <your jade file>.jade'. Then specify a path to installed jade script as a 'Program' in your file watcher

Palawan answered 31/1, 2015 at 14:8 Comment(2)
Is there an option to indent/auto-format the generated HTML file ?Nochur
@DioPhung open the HTML file, go to the code bar on the top menu, and click reformat code.Bixby

© 2022 - 2024 — McMap. All rights reserved.