still-ex / still

A composable Elixir static site generator
https://stillstatic.io
ISC License
252 stars 10 forks source link

Configuration not working #172

Closed Sgoettschkes closed 2 years ago

Sgoettschkes commented 2 years ago

I have created a new still project, replaced the .slime files with .eex files, and nothing else. I tried adding tailwind as described in the configuration but still ignores ignore_files: ["assets"], printing warnings like 20:12:40.332 [warning] Preprocessors not found for file: assets/package.json and failing later.

I moved the assets into the root, which works, but the watcher

watchers: [
    npx: [
      "tailwindcss",
      "--input=css/app.css",
      "--output=../priv/site/css/global.css",
      "--postcss",
      "--watch",
      cd: Path.expand("../assets", __DIR__)
    ]
  ]

is not running as I don't see any logs and there is no global.css.

Maybe I'm missing something, but I can't find any reason why the configuration wouldn't work.

Sgoettschkes commented 2 years ago

I realized I was looking at the documentation for master and using 0.6.1 which does not have ignore_files and watchers. Sorry for this!