[meta]
    title = queue size reload test
    description = """change graphing order via a reload."""

[scheduler]
    allow implicit tasks = True
[scheduling]
    [[graph]]
        R1 = reloader => inter => bar => foo # marker
[runtime]
    [[reloader]]
        script = """
# change the order of foo and bar in the graphing section:
perl -pi -e 's/(R1 = reloader => inter => )bar => foo( # marker)/\1foo => bar\2/' $CYLC_WORKFLOW_RUN_DIR/flow.cylc
# reload
cylc reload "${CYLC_WORKFLOW_ID}"
cylc__job__poll_grep_workflow_log -F 'Reload completed'
"""
    [[foo, bar]]
        script = true
