[meta] title = "Test insertion of a task added by a reload." # Don't run this workflow in-place: it modifies itself. [scheduler] allow implicit tasks = True [scheduling] [[graph]] R1 = reloader => foo [runtime] [[root]] script = true [[reloader]] script = """ sed -i "s/\(R1 = reloader => foo\)\s*$/\1 => add_me/" $CYLC_WORKFLOW_RUN_DIR/flow.cylc cylc reload $CYLC_WORKFLOW_ID sleep 10 """