Run a task
You can run any grunt task by just calling /task on this server as shown below.
Runs the tasks named "[[task1]]" and "{#task2#}"
=> http://{{=it.host}}/task/{#task1#},{#task2#},...
Runs the task named "{#task1#}" and returns the file named "{#file#}"
=> http://{{=it.host}}/task/{#task1#}/{#file#}
Aliases
You can setup aliases that will trigger specific tasks and return the desired file.
More information about setting up aliases available on https://github.com/lud2k/grunt-serve.
Configured aliases:
{{? it.aliases.length}}
{{~it.aliases :val:idx}}
- {{=val.name}} [{{? val.tasks && val.tasks.length}} {{=val.tasks}} {{??}} no tasks {{?}}] => {{=val.output || 'no output'}}
{{~}}
{{??}}
(no configure aliases)
{{?}}
Files
This server will also serve any static files if no alias is matched.
Available files:
{{? it.files.length}}
{{~it.files :val:idx}}
- {{=val.name}}
{{~}}
{{??}}
(no files found)
{{?}}