Open jescalan opened 10 years ago
So Duo needs to know that the file type has changed. When you compile index.jade
, it will need to become index.js
in order for Duo to continue building.
duo-gulp
changes the file type here: https://github.com/duojs/gulp/blob/master/index.js#L43 and it's based on File.path
object in gulp.
I have a feeling the plugin doesn't update the file path, so Duo has no way of knowing that it's now working with JS.
Yeah I don't think it does change the file path. This is something that has to be done in the gulp plugin? Also this will compile it to .html
not .js
- does that matter?
Perhaps I'm doing something wrong here -- I'm trying to use a gulp plugin to compile jade, but alas duo is telling me that this file type is not supported.
The folder structure of the project:
Code in
app.coffee
, which is the point from which I'm running duo:The jade file is just a generic hello world, and
package.json
also generic with just the packages referenced above installed. When I executeapp.coffee
, I get this error back:Halp!