Sha256: 4afa63d77c3043827eb43259af1a4d9c7c168bb6c9ae42abb0ccd2221f198131

Contents?: true

Size: 633 Bytes

Versions: 43

Compression:

Stored size: 633 Bytes

Contents

const concurrently = require('concurrently');

// By default, configure Bridgetown to use port 4001 so Browsersync can use 4000
// See also Browsersync settings in sync.js
const port = 4001

/////////////////
// Concurrently
/////////////////
concurrently([
  { command: "yarn webpack-dev", name: "Webpack", prefixColor: "yellow"},
  { command: "sleep 4; yarn serve --port " + port, name: "Bridgetown", prefixColor: "green"},
  { command: "sleep 8; yarn sync", name: "Live", prefixColor: "blue"}
], {
  restartTries: 3,
  killOthers: ['failure', 'success'],
}).then(() => { console.log("Done.");console.log('\033[0G'); }, () => {});

Version data entries

43 entries across 43 versions & 3 rubygems

Version Path
bridgetown-core-0.18.6 lib/site_template/start.js
bridgetown-core-0.18.5 lib/site_template/start.js
bridgetown-core-0.18.4 lib/site_template/start.js
bridgetown-core-0.18.3 lib/site_template/start.js
bridgetown-core-0.18.2 lib/site_template/start.js
bridgetown-core-0.18.1 lib/site_template/start.js
bridgetown-core-0.18.0 lib/site_template/start.js
bridgetown-core-0.17.1 lib/site_template/start.js
bridgetown-core-0.17.0 lib/site_template/start.js
bridgetown-core-0.16.0 lib/site_template/start.js
bridgetown-core-0.16.0.beta2 lib/site_template/start.js
bridgetown-core-0.16.0.beta1 lib/site_template/start.js
bulmatown-1.0.5 example/start.js
bulmatown-1.0.4 example/start.js
bulmatown-1.0.3 example/start.js
bulmatown-1.0.2 example/start.js
bulmatown-1.0.1 example/start.js
bulmatown-1.0.0 example/start.js
bridgetown-core-0.15.0 lib/site_template/start.js
bridgetown-core-0.15.0.beta4 lib/site_template/start.js