5t3ph / 5t3ph/11ty-egghead-collection

Cannot generate css folder in src with `npm start`

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
HTML
Stelle
10
Fork
12
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Description
Hi Stephanie, I'm following your [course on Egghead](https://egghead.io/lessons/11ty-add-sass-compiling-and-watch-for-changes-in-eleventy-11ty). Running `npm start` doesn't generate a `css` folder for me in the `src` folder. It does, however, generate one for the `public` folder, along with an additional `styles.css.map` file 🤷‍♀️ .

## Current workaround
To get hot reloading to work, I have deviated in where I am pointing the `passthroughCopy` as seen below:

```javascript
eleventyConfig.addPassthroughCopy("./public/css");

```

In the long run, I'm not sure that's bad 🤔

## Reproduction

**Ask: Are you able to spot why a `css` folder in the `src` folder isn't being generated?**

Source code: https://github.com/clearlyTHUYDOAN/clearlythuydoan.com/tree/feature/setup-eleventy

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.