UNPKG

@aivec/wp-docker-dev-factory

Version:

Spin up local WordPress environments with Docker.

13 lines (12 loc) 377 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var child_process_1 = require("child_process"); var logContainer = function (config) { try { (0, child_process_1.execSync)("docker logs -f ".concat(config.containerName), { stdio: 'inherit' }); } catch (e) { console.log('\nBye.'); } }; exports.default = logContainer;