Hello there. Just wanted to get some guidance on how to go about changing the fabricator.js methods to fit my needs and how (and when) they get compiled to the outputted JS.
I have the development environment up and running, but when I make changes to assets/fabricator/scripts/fabricator.js, these are not reflected immediately on the page.
For instance, if I, say, remove the setting of the border top and bottom colours to the color chips on the Overview page, I would assume they do not get the colour and should appear empty. Instead, they appear as usual.
Sample code:
fabricator.buildColorChips = () => {
const chips = document.querySelectorAll('.f-color-chip');
for (let i = chips.length - 1; i >= 0; i--) {
const color = chips[i].querySelector('.f-color-chip__color').innerHTML;
// chips[i].style.borderTopColor = color;
// chips[i].style.borderBottomColor = color;
}
return fabricator;
};
As I read in the documentation and observed in the gulp file, the watchers are indeed watching that directory and that file, so why don't I see my changes?
Any direction or advice would be greatly appreciated!
Hello there. Just wanted to get some guidance on how to go about changing the fabricator.js methods to fit my needs and how (and when) they get compiled to the outputted JS.
I have the development environment up and running, but when I make changes to
assets/fabricator/scripts/fabricator.js
, these are not reflected immediately on the page.For instance, if I, say, remove the setting of the border top and bottom colours to the color chips on the Overview page, I would assume they do not get the colour and should appear empty. Instead, they appear as usual.
Sample code:
As I read in the documentation and observed in the gulp file, the watchers are indeed watching that directory and that file, so why don't I see my changes?
Any direction or advice would be greatly appreciated!