Sha256: f9655e8509ed4b87bd4216f72b7f651bbcc51c1b13d8962747fc0f3997637a39
Contents?: true
Size: 609 Bytes
Versions: 2
Compression:
Stored size: 609 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.") }, () => {});
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bridgetown-core-0.14.1 | lib/site_template/start.js |
bridgetown-core-0.14.0 | lib/site_template/start.js |