I suggest you consider
- adding a VERY EXPLICIT note to the Add Custom Tasks section indicating that the tasks' configuration must be added in application.js, not in the task configuration itself;
- refactoring the example on prependTasks and appendTasks to something like:
prependTasks: {
common: ["task-1"].concat(app.prependTasks.common)
},
appendTasks: {
common: ["task2"].concat(app.appendTasks.common)
},