forked from Qortal/qortal-ui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
412 B
17 lines
412 B
const rollup = require('rollup') |
|
|
|
async function watchInlines (inlineConfigs) { |
|
for (const conf of inlineConfigs) { |
|
const watchOptions = { |
|
...conf.inputOptions, |
|
output: [conf.outputOptions], |
|
watch: { |
|
} |
|
} |
|
const watcher = rollup.watch(watchOptions) |
|
watcher.on('event', event => { |
|
}) |
|
} |
|
} |
|
|
|
module.exports = watchInlines
|
|
|