Sha256: 42f4431f44793d0e2c095863956d7f512dbfb8f0e7ad15c42e84429a4259517a
Contents?: true
Size: 587 Bytes
Versions: 3
Compression:
Stored size: 587 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(() => {}, () => {});
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bridgetown-core-0.13.0 | lib/site_template/start.js |
bridgetown-core-0.12.1 | lib/site_template/start.js |
bridgetown-core-0.12.0 | lib/site_template/start.js |