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
serbea-1.0.0 docs/start.js
bridgetown-core-0.21.3 lib/site_template/start.js
bridgetown-core-0.21.2 lib/site_template/start.js
bridgetown-core-0.21.1 lib/site_template/start.js
bridgetown-core-0.21.0 lib/site_template/start.js
bridgetown-core-0.21.0.beta4 lib/site_template/start.js
bridgetown-core-0.21.0.beta3 lib/site_template/start.js
bridgetown-core-0.21.0.beta2 lib/site_template/start.js
bridgetown-core-0.21.0.beta1 lib/site_template/start.js
serbea-0.12 docs/start.js
serbea-0.11.5 docs/start.js
serbea-0.11.4 docs/start.js
serbea-0.11.3 docs/start.js
bridgetown-core-0.20.0 lib/site_template/start.js
serbea-0.11.2 docs/start.js
serbea-0.11.1 docs/start.js
bridgetown-core-0.19.3 lib/site_template/start.js
bridgetown-core-0.19.2 lib/site_template/start.js
bridgetown-core-0.19.1 lib/site_template/start.js
bridgetown-core-0.19.0 lib/site_template/start.js