Skip to content

.before() and .after() don't work for tasks in series/parallel #208

@ecraig12345

Description

@ecraig12345

Suppose I want to use the webapp preset and add something before (or after) the ts task:

const { taskPresets, chain } = require('just-scripts');
taskPresets.webapp();
chain('some-task').before('ts');

If I run just-scripts ts, my additional task will run. But if I do just-scripts build (which contains ts), it won't run my additional task.

So...extensible task configs? :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions