Created
October 20, 2017 19:43
-
-
Save EduardoLopes/a16c11af53d97e5ebd175e22e0256b56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var budo = require('budo') | |
//There's no erro if running this directly from the command line | |
//the error doesn't show if the dir arg is removed | |
//if there's the --dir arg, subarg seems to change the result | |
budo.cli(['app/js/main.js:bundle.js', "--live", "--dir", "./app", "-- -t babelify --presets [ env ]"]) | |
/* | |
Error: TypeError: file.split is not a function | |
at mapEntry (/usr/lib/node_modules/budo/lib/map-entry.js:16:18) | |
at Array.map (native) | |
at createBudo (/usr/lib/node_modules/budo/lib/budo.js:59:30) | |
at Function.budoCLI [as cli] (/usr/lib/node_modules/budo/index.js:66:18) | |
at Object.<anonymous> (/mnt/c/Users/Eduar/programming/vase/index.js:17:6) | |
at Module._compile (module.js:570:32) | |
at Object.Module._extensions..js (module.js:579:10) | |
at Module.load (module.js:487:32) | |
at tryModuleLoad (module.js:446:12) | |
at Function.Module._load (module.js:438:3) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment