cferdinandi / kraken

A lightweight, mobile-first boilerplate for front-end web developers.
http://cferdinandi.github.io/kraken
MIT License
806 stars 81 forks source link

html files in src/ do not compile to dist/ #241

Closed myhd closed 8 years ago

myhd commented 8 years ago

In src/, changed files in subfolders (graphics, svgs etc) do go to the dist/ folder when gulp watching. HTML and md files, however, do not. Is this by design?

cferdinandi commented 8 years ago

Interesting use case I hadn't considered. In previous iterations, there was a static directory in src for files that should be copied as-is over to the dist folder, but it was removed in favor of a dedicated img folder. I may have to bring it back.

HTML/md files placed in src > docs will copy over (with the md files being compiled into HTML).

myhd commented 8 years ago

I was under the impression that the actual development of "pages", e.g. HTML, PHP etc, was to happen in src/, and it also be optimized through the gulp mechanism to dist/. No? Which workflow would you propose for developing with Kraken? Or, in other words: where would I put my actual HTML docs? I used an older version where gulp was not used yet.

cferdinandi commented 8 years ago

Ah I see. So, Kraken is really designed to be a bit barebones. I personally but my static HTML/md in docs, but I literally use that to create documentation. I work primarily with WordPress, so all of my PHP files sit in the root directory for my projects, along side the dist, src, and test directories.

Based on this convo, I think I need to add some functionality to do a raw copy/paste directory in src, but for now, how you handle your HTML is left up to the discretion of the developer.

cferdinandi commented 8 years ago

Fixed in https://github.com/cferdinandi/kraken/pull/244