-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
Description
The only way to validate that your template works in Harp Platform is to compile the template and see if it shows any errors.
It'd be better to have a validate
option to take care of that for you.
$ harp -validate
OK
$ harp -validate
{
"status": 400,
"message": "Template Render Error",
"dump": {
"path": "/Users/jorge/Dropbox/harp.io/apps/jorge.harp.io/public/index.jade"
}
}
$ harp
...
validate [path] checks if project compiles correctly
...