Is there any way to run middleman with the local server bundle exec middleman server
but adding something somewhere to make it believe it is building the site?
I have coded a multi-lingual site, and I need to test what the URLs will look like one built, but I can’t build the site all the time as it takes ages.
The best I could think of is adding a variable at CLI, but I’m not sure I can actually read from within the config.rb file to set my variables.
Any idea?