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   405 Views

Avatar
vwd

Community Member, 160 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, 5513 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, 160 Posts

25 January 2013 at 1:06am

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

Thanks Will.
VWD