pon task to open files
$ npm install pon-task-open --save
'use strict'
const pon = require('pon')
const open = require('pon-task-open')
;(async () => {
let run = pon({
'open:local': open('http://localhost:300', {wait: false})
})
run('open:local')
}).catch((err) => console.error(err))
Define task
Param | type | Description |
---|---|---|
target | string | Target to open |
options | Object | Optional settings |
This software is released under the Apache-2.0 License.