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.

General Questions

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

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

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


Reply

3 Posts   365 Views

Avatar
vwd

22 January 2013 at 7:31am Community Member, 159 Posts

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

24 January 2013 at 8:16pm Forum Moderator, 5511 Posts

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

25 January 2013 at 1:06am Community Member, 159 Posts

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

Thanks Will.
VWD