在WebStorm不工作帕格的论点“--pretty”

问题描述 投票:0回答:1

在WebStorm不工作帕格的论点“--pretty”

enter image description here

HTML文件看起来像:

enter image description here

但我想要:

enter image description here

请告知该怎么办?我不想在命令行上写

pug --watch --pretty ./pug/ --out ./html/

我想进行默认设置。

phpstorm pug webstorm
1个回答
2
投票

使用以下设置时,对我来说工作正常:

Arguments: $FileName$ --pretty --out $ProjectFileDir$/html
Output paths to refresh: $ProjectFileDir$/html/$FileNameWithoutExtension$.html

enter image description here

enter image description here

屏幕截图中的文件似乎不是由文件监视器生成的 - 它的位置与文件观察器设置中的输出目录不匹配

© www.soinside.com 2019 - 2024. All rights reserved.