1.

My Script Runs Every Time I Run A State.apply. Why?

Answer»

You are probably USING cmd.run rather than cmd.wait. A cmd.wait state will only run when there has been a change in a state that it is watching.

A cmd.run state will run the corresponding command every TIME (unless it is PREVENTED from running by the unless or onlyif ARGUMENTS).

You are probably using cmd.run rather than cmd.wait. A cmd.wait state will only run when there has been a change in a state that it is watching.

A cmd.run state will run the corresponding command every time (unless it is prevented from running by the unless or onlyif arguments).



Discussion

No Comment Found