Is it possible to run parcel in build mode but watch as well? Target — to get in a dist all bundle files, while coding.
Developing chrome extension and want to have always bundled dist folder. For now, I use a workaround with nodemon to restart the build script
parcel watch main.js is essentially parcel main.js without the dev server, so it doesn't do production output. Does this satisfy your needs?
@DeMoorJasper Is there a way to do parcel watch and production mode?
I need something opposite. Build with full production dist output and watch at the same time to always have fresh build in a dist folder ready to use.
(A production build can take considerably more time because of scope hoisting and minification, making the "watch" experience much less instant)
The only way this is currently possible is by using the node.js api afaik. But as @mischnic
mentioned this will be significantly slower than normal watchmode
Sent with GitHawk
Okay, I see. Yep, that's time-consuming. But what's left... Well, thanks anyway
Will this be possible in v2 by any chance? I'm looking for the same feature.
Most helpful comment
Will this be possible in v2 by any chance? I'm looking for the same feature.