Open breadadams opened 6 years ago
I investigated this quite a bit since yesterday as it is the same for LESS or any other included files.
The problem seems to happen because the referenced files aren't being recognized as implicit component dependencies in the assets pipeline, and thus do not trigger the parent's (Vue file) recompilation.
Luckily we have access to the delegate property (from the constructor's options) so it could probably be resolved without messing with Parcel's source code.
Stylus has the same problem.
Using a single file component, with
src
attributes on<template>
&<style>
eg.SomeComponent.vue:
Changes made to either of those files respectivly, doesn't cause any recompiling of Parcel. I have to go into SomeComponent.vue and re-save that file for it to compile.