rollup-plugin-copy-glob
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -33,3 +33,3 @@ const fs = require('fs'); | ||
module.exports = (paths, { watch = true, verbose = false } = {}) => { | ||
module.exports = (paths, { watch = false, verbose = false } = {}) => { | ||
const copy = async (from, entry) => { | ||
@@ -36,0 +36,0 @@ const to = findDestination(from, entry); |
{ | ||
"name": "rollup-plugin-copy-glob", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Rollup plugin to easily copy files and folders. Glob supported", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,3 +28,3 @@ # rollup-plugin-copy-glob | ||
{ files: 'dev/images/**/*.*', dest: 'dist/images' } | ||
], { verbose: true, watch: false }) | ||
], { verbose: true, watch: true }) | ||
] | ||
@@ -36,2 +36,2 @@ }; | ||
- verbose (default is `false`). Enable/disable logging | ||
- watch (default is `true`). Enable/disable watching. If disabled then copy only on start | ||
- watch (default is `false`). Enable/disable watching. If disabled then copy only on start |
5345