Browse Source

allow rollup --watch with targets

ghi-672
Rich Harris 9 years ago
parent
commit
ef20502229
  1. 2
      bin/runRollup.js

2
bin/runRollup.js

@ -130,7 +130,7 @@ function execute ( options, command ) {
try {
if ( command.watch ) {
if ( !options.entry || !options.dest ) {
if ( !options.entry || ( !options.dest && !options.targets ) ) {
handleError({ code: 'WATCHER_MISSING_INPUT_OR_OUTPUT' });
}

Loading…
Cancel
Save