Currently, parcel can import recursive all files in folder (ex: require('./folder/*')). But it doesn't rebuild file that imports directory when a new file is created in directory.
It is useful with Vue single component files. For every new created component I must restart parcel myself.
Thank you! I agree, this should happen for our new Vue support. (Were you referring to it? https://github.com/parcel-bundler/parcel/issues/5#issuecomment-359168173)
If you still have to restart Parcel while using that, let me know and I'll make sure it's solid for when we release Vue.
It is more about general support at parcel core for watching folder.
Ah, yes agreed. Thanks!
On Thu, Jan 25, 2018 at 10:49 AM, Alexander notifications@github.com
wrote:
It is more about general support at parcel core for watching folder.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/parcel-bundler/parcel/issues/667#issuecomment-360527096,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADo8BErZQg4y1dwdEX3v2pcJqyV9j54ks5tOLCPgaJpZM4RtIiT
.
The start of this happened in https://github.com/parcel-bundler/parcel/pull/1279
Should be fixed in 1.12.0: https://github.com/parcel-bundler/parcel/pull/2615
Most helpful comment
Should be fixed in 1.12.0: https://github.com/parcel-bundler/parcel/pull/2615