text: const { existsSync } = require("fs");
  
  module.exports = function() {
    if (!existsSync("config.rb")) {
      return false;
    }
  
    return {
      type: "middleman",
      port: 8888,
      proxyPort: 4567,
      env: { ...process.env },
      command: "bundle",
      possibleArgsArrs: [["exec", "middleman", "server"]],
      urlRegexp: new RegExp(`(http://)([^:]+:)${4567}(/)?`, "g"),
      dist: "build"
    };
  };
  