mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-12 10:15:50 +00:00
18 lines
412 B
JavaScript
18 lines
412 B
JavaScript
|
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
|