Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Necessary to do a /dev/build after making changes to configuration via YAML files?


Go to End


3 Posts   959 Views

Avatar
vwd

Community Member, 166 Posts

22 January 2013 at 7:31am

Hi,

I've noticed that when I make changes to the YAML configuration files I either need to manually clear out silverstripe-cache or do a /dev/build for the changes to be picked up.

Is this normal?

Thank you.
VWD

Avatar
Willr

Forum Moderator, 5523 Posts

24 January 2013 at 8:16pm

You should only need to do a ?flush=1 when editing config / templates but 3.* seems to have an issue that it doesn't clear out the old state on ?flush=1 (could be part of a 'feature'). rm -rf 'd the cache folder is my current goto until I get bored enough to work out the flush issue.

Avatar
vwd

Community Member, 166 Posts

25 January 2013 at 1:06am

Fair enough. Good to know I'm not the only one.

Thanks Will.
VWD