Giter Site home page Giter Site logo

brunch's Introduction

Brunch Weekly downloads Yearly downloads

Web applications made easy. Since 2011.

Fast front-end web app build tool with simple declarative config and seamless incremental compilation for rapid development.

Usage

Install Brunch with a simple node.js package manager command:

npm install -g brunch
  1. Create a new Brunch project: brunch new [--skeleton url]
    • skeleton specifies a skeleton from which your application will be initialized. The default skeleton (dead-simple) doesn't have any opinions about frameworks or libraries.
    • brunch.io/skeletons contains over 50 boilerplate projects, which you can use to init your app from.
  2. Develop with Brunch: brunch watch --server
    • tells Brunch to watch your project and incrementally rebuild it when source files are changed. The optional server flag launches a simple web server with push state support.
  3. Deploy with Brunch: brunch build --production
    • builds a project for distribution. By default it enables minification.

Learn

Contributing

See the CONTRIBUTING.md document for more info on how to file issues or get your head into the Brunch's internals.

  • To install edge version (from GitHub master branch): npm install -g brunch/brunch
  • To enable debug mode, simply pass -d flag to any command like that: brunch build -d
  • To create your own plugin, check out our plugin boilerplate as a starting point.

License

MIT license (c) 2021 Paul Miller paulmillr.com, Elan Shanker, Nik Graf, Thomas Schranz, Allan Berger, Jan Monschke, Martin Schürrer

See LICENSE file.

brunch's People

Contributors

abernier avatar andreasgerstmayr avatar boehs avatar denysdovhan avatar es128 avatar ghostd avatar goshacmd avatar gpurgal avatar icholy avatar iki avatar janmonschke avatar josevalim avatar lydell avatar majorbreakfast avatar maksimabramchuk avatar marcioj avatar mkcode avatar msnexploder avatar njaldwin avatar oscherler avatar paulmillr avatar plepers avatar reubano avatar roman-g avatar samirbekaert avatar shreeve avatar shvaikalesh avatar tosh avatar vitaliyr avatar yavorsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brunch's Issues

default index.html page

we should provide a default index.html page which includes all dependencies and some sensible defaults (probably inspired by the index.html we use regularly and by some stuff that is in html5 boilerplate)

http://html5boilerplate.com/

it should also include getting started information, pointers to the documentation and a friendly look and feel.

it might be a good idea to serve this file using a simple node server (see capt, couchapp, rails, django, … for prior art)

improve building/watching with optional --output dir

brunch watch should work with different paths like

brunch watch some/file/path/to/a/project

also it should be possible to provide a different output path so brunch plays well with server side frameworks

brunch new $namespace --output $outputpath

this could generate a file in config/settings.yaml which contains the output path.
where output path is the build directory

docco error upon new project generation

$ brunch new test
23 Feb 21:14:19 - 8080
23 Feb 21:14:19 - Brunch: created brunch directory layout
23 Feb 21:14:19 - Brunch: copied .js files to build folder
23 Feb 21:14:19 - Docco err:
23 Feb 21:14:19 - Docco err: node.js:116
23 Feb 21:14:19 - Docco err: throw e; // process.nextTick error, or 'error' event on first tick
23 Feb 21:14:19 - Docco err:
23 Feb 21:14:19 - Docco err:
23 Feb 21:14:19 - Docco err:
23 Feb 21:14:19 - Docco err:
23 Feb 21:14:19 - Docco err:
23 Feb 21:14:19 - Docco err:
23 Feb 21:14:19 - Docco err:
23 Feb 21:14:19 - Docco err:
23 Feb 21:14:19 - Docco err: ^
23 Feb 21:14:19 - Docco err: Error: EPIPE, Broken pipe
at Socket._writeImpl (net.js:138:14)
at Socket._writeOut (net.js:427:25)
at Socket.write (net.js:356:17)
at /usr/local/lib/node/.npm/docco/0.3.0/package/lib/docco.js:70:20
at /usr/local/lib/node/.npm/docco/0.3.0/package/lib/docco.js:10:14
at [object Object]. (fs.js:86:5)
at [object Object].emit (events.js:39:17)
at afterRead (fs.js:840:12)
23 Feb 21:14:19 - Coffee: compiled .coffee to .js
23 Feb 21:14:19 - Stylus: compiled brunch/build/web/css/main.css
23 Feb 21:14:19 - Fusion: Compiled files

Cannot find module 'yaml'

Anytime I run the brunch command I get this error. I've tried doing npm install yaml but still get it.

require solution

We need a way to define the order how the files are concatenated.

List Configuration File

One solution could be to have one configuration file where you are able to define a order.

Pro

  • simple easy solution

Con

  • doesn't define dependency of the files (harder to maintain if projects get larger)

Preprocessor statements

Defining dependencies in the beginning of a coffee file which will be resolved by a preprocessor before compiling.

Pro

  • explicit dependencies

Con

  • developers have to resolve circular imports if applications get more complex
  • brunch (preprocessor) specific code

Dependency Configuration File

Define dependencies in one configuration file.

Pro

  • explicit dependencies
  • no preprocessor code in the coffee files

Con

  • developers have to resolve circular imports if applications get more complex
  • maybe harder to understand (brunch specific configuration)

Error with brunch new

I'm using Ubuntu 10.10 32 bit and installed brunch with npm install brunch.
npm info using [email protected]
npm info using [email protected]

npm install brunch seemed to work fine. However, when I try to create a new project, I get one of two errors:

ebiester@desktop:/tmp/abc$ brunch new novelbuilder
2011-02-26T19:38:42Z 80802011-02-26T19:38:42Z Brunch: created brunch directory layout
2011-02-26T19:38:42Z brunch: copied .js files to build folder
2011-02-26T19:38:43Z err:
2011-02-26T19:38:43Z err: node.js:116
2011-02-26T19:38:43Z err: throw e; // process.nextTick error, or 'error' event on first tick
2011-02-26T19:38:43Z err: 2011-02-26T19:38:43Z err: ^
2011-02-26T19:38:43Z err: Error: EPIPE, Broken pipe
at Socket._writeImpl (net.js:138:14)
at Socket._writeOut (net.js:427:25)
at Socket.write (net.js:356:17)
at /usr/local/lib/node/.npm/docco/0.3.0/package/lib/docco.js:70:20
at /usr/local/lib/node/.npm/docco/0.3.0/package/lib/docco.js:10:14
at [object Object]. (fs.js:86:5)
at [object Object].emit (events.js:39:17)
at afterRead (fs.js:840:12)
2011-02-26T19:38:43Z coffee: compiled .coffee to .js
2011-02-26T19:38:43Z stylus: compiled brunch/build/web/css/main.css
2011-02-26T19:38:43Z fusion: Compiled files

OR:

ebiester@desktop:~/Work/nb2$ brunch new nb2
2011-02-25T20:08:02Z 80802011-02-25T20:08:02Z Brunch: created brunch directory layout
2011-02-25T20:08:02Z brunch: copied .js files to build folder
2011-02-25T20:08:03Z err: <Buffer 65 78 65 63 76 70 28 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 0a>
2011-02-25T20:08:03Z docco: brunch/src/app/controllers/MainController.coffee -> docs/MainController.html
2011-02-25T20:08:03Z err: <Buffer 65 78 65 63 76 70 28 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 0a>
2011-02-25T20:08:03Z docco: brunch/src/app/main.coffee -> docs/main.html
2011-02-25T20:08:03Z err: <Buffer 65 78 65 63 76 70 28 29 3a 20 4e 6f 20 73 75 63 68 20 66 69 6c 65 20 6f 72 20 64 69 72 65 63 74 6f 72 79 0a>
2011-02-25T20:08:03Z docco: brunch/src/app/views/HomeView.coffee -> docs/HomeView.html
2011-02-25T20:08:03Z fusion: Compiled files
2011-02-25T20:08:03Z coffee: compiled .coffee to .js
2011-02-25T20:08:03Z stylus: compiled brunch/build/web/css/main.css

file naming convention

currently the project template is inconsistently using main_controller and HomeView. let's decide on one.

brunch with vanilla

I like the idea of brunch, but I'm not sure about making the leap to coffeescript.

As someone who's still learning JS, It seems to add another layer of complexity, and reduces the scope for getting help with issues I run into. I also don't feel I've mastered the language well enough to merit the need for a more advanced version.

Maybe I'm a purist or just not progressively minded, but I'm also quite happy with HTML + CSS after trying Haml, Sass, etc.

Getting to the point, is there any chance that brunch will support vanilla javascript and other templating languages, or will it remain coffeescript only?

add support for sub-folders in views-folder

I created a workflow pattern by putting all the views and the according templates in a similar diretory structure like this:

  • app
    • templates
      • users
        • user_view.eco
    • views
      • users
        • user_view.coffee

But it turns out that views that are sub-folders of the views-folder are not being concatenated.
It would be great to have this kind of directory structure supported.

Can't find module brunch

on "brunch new mylittleapp" i get:

brunch new listings

node.js:116
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'brunch'
at Function._resolveFilename (module.js:290:11)
at Function._load (module.js:242:25)
at require (module.js:318:19)
at Object. (/usr/local/lib/node/.npm/brunch/0.4.1/package/lib/brunch.js:9:12)
at Object. (/usr/local/lib/node/.npm/brunch/0.4.1/package/lib/brunch.js:153:4)
at Module._compile (module.js:374:26)
at Object..js (module.js:380:10)
at Module.load (module.js:306:31)
at Function._load (module.js:272:10)
at require (module.js:318:19)

Any ideas

brunch watch error on express.static call in fresh project dir

Hi, I just installed via npm and I'm getting an error on the "express.static" call.
Versions: brunch 0.5.6, node 0.4.2, express 2.0.0.

$ brunch watch
2011-03-21T17:03:16Z 8080{ templateExtension: 'eco',
  projectTemplate: 'express',
  expressPort: '8080',
  noDocco: false }
2011-03-21T17:03:16Z 80802011-03-21T17:03:17Z Express err: 
node.js:116
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
2011-03-21T17:03:17Z Express err: TypeError: Object #<Object> has no method 'static'
    at Server.<anonymous> (/Users/arjunsanyal/Desktop/chip/homeorders/brunch/server/main.js:12:21)
    at Server.configure (/Users/arjunsanyal/.node_libraries/express/server.js:244:12)
    at Object.<anonymous> (/Users/arjunsanyal/Desktop/chip/homeorders/brunch/server/main.js:10:5)
    at Module._compile (module.js:383:26)
    at Object..js (module.js:389:10)
    at Module.load (module.js:315:31)
    at Function._load (module.js:276:12)
    at Array.<anonymous> (module.js:402:10)
    at EventEmitter._tickCallback (node.js:108:26)
2011-03-21T17:03:17Z coffee:   compiled .coffee to .js
....

file concatenation/code bundling for coffee files

For various reasons (# of http requests, ease of deployment, ease of compression, …) it seems like a good idea to concatenate the whole app into one or at least lesser files than sum of controllers, models, views, and so on. It was also a wise recommendation by Jeremy to do so.

https://github.com/stefl/Culturegridmobile/blob/master/compile

Seems like an elegant solution which could be tricky in some circumstances (dependencies) but should work quite well for many scenarios. I think we should adapt this pattern (just without the --bare flag so we keep the code from polluting the namespace.

console.log and console dummy

I think ConsoleDummy is a brilliant idea. What do you think about including it?

Of course we probably could add a production-compile step for removing all console statements,
but then again I think there might me scenarios where you want to have them in your deployed app and we should make sure they don't break anything if that happens intentionally or unintentionally.

https://github.com/andyet/ConsoleDummy.js

brunch 0.6.1

Improvements

  • copying of js files from src to build now works with 'watch'
  • 'watch' shouldn't cause builds as often as before (it used to trigger builds way too often)
  • express server now only starts if an express config file is present
  • default home view now displays pointers to github wiki, issues and example projects (todo, twitter)
  • terminal colors got improved and are implemented more elegant now
  • express dependency updated to 2.0.0
  • stylus dependency updated to 0.9.2
  • updated underscorejs to 1.1.5

Backwards Incompatible Changes

Templaes from now on generate lowerCamelCased namespaces.
So if you have template file like this:

templates/task_list/new_comment.html

it will generate templates.taskList.newComment instead of templates.task_list.new_comment

Further node 0.4.3 is now required because of express 2.0.0

General News

Ben Nolan joined brunch and already contributed some great improvements for the file watching behaviour and terminal colors.

Jan Monschke created a textmate bundle which rebuilds the project on save

Nik Graf ported the famous backbone localtodos example app to brunch. you can find the source here

Error when creating a new brunch project with 'brunch new'

$ brunch new -p base

node.js:63
    throw e;
    ^
Error: EXDEV, Cross-device link     '/usr/local/lib/node/.npm/brunch/0.2.6/package/template/express/src/app/controllers/main_controller.coffee'
    at Object.linkSync (fs:350:18)
    at Object.newProject
(/usr/local/lib/node/.npm/brunch/0.2.6/package/lib/brunch.js:31:8)
    at Object.run    (/usr/local/lib/node/.npm/brunch/0.2.6/package/lib/command.js:24:21)
    at Object.<anonymous>     (/usr/local/lib/node/.npm/brunch/0.2.6/package/bin/brunch:7:27)
    at Module._compile (node.js:462:23)
    at Module._loadScriptSync (node.js:469:10)
    at Module.loadSync (node.js:338:12)
    at loadModule (node.js:283:14)
    at require (node.js:411:14)
    at Object.<anonymous> (/usr/local/bin/brunch:11:18)

$ node -v
v0.2.6

brunch watch fails to start Express

I just created a project using brunch new foo. Then when I run brunch watch, I get

2011-03-03T22:05:22Z 80802011-03-03T22:05:22Z 80802011-03-03T22:05:23Z Express err: 
node.js:116
        throw e; // process.nextTick error, or 'error' event on first tick
2011-03-03T22:05:23Z Express err:         ^
2011-03-03T22:05:23Z Express err: TypeError: Cannot read property 'prototype' of undefined
    at Object.<anonymous> (/usr/local/Cellar/node/0.4.1/lib/node/.npm/express/1.0.7/package/lib/express/server.js:87:44)
    at Module._compile (module.js:374:26)
    at Object..js (module.js:380:10)
    at Module.load (module.js:306:31)
    at Function._load (module.js:272:10)
    at require (module.js:318:19)
    at Object.<anonymous> (/usr/local/Cellar/node/0.4.1/lib/node/.npm/express/1.0.7/package/lib/express/index.js:28:31)
    at Module._compile (module.js:374:26)
    at Object..js (module.js:380:10)
    at Module.load (module.js:306:31)

Compilation proceeds, but Express isn't listening. I thought this might be a port conflict, so I tried brunch watch -ep 4567. When I did this, I didn't get a port conflict—but I didn't get any other Express-related output either, and localhost:4567 didn't respond. Oddly, brunch watch -p whatever has the same effect.

Any ideas? I'm on a Mac running Node 0.4.1 and Express 1.0.7.

update 2011-02-01

So is wieder mal spät worden, aber hat sich ausgezahlt.

I would say we need to rewrite this compile/watch part. Especially cause currently just compiling is not available which takes away the opportunity for a "brunch compile --compress"

Important Todos

please publish new version and share publishing rights or account
documentation, documentation und documentation!!!!!!!
after creating the directory structure it should be compiled once!
move js files from src to build
move watch to own node package or at least to another file
proper error message if brunch directory already exist
tests!!!!!!! (especially for the rewrite of compile/watch they are extremly important)

Changelog 2011-02-01

Code now mostly follows "Coffee-script codestyles"
Added index.html
Added stylus
Moved reset.styl and included it to main.styl (styl is used by visionmedia)
Add settings file for fusion
Set default file extension to .eco (sstephenson is doing the same)
Setup project-template-structure (thats the best thing ever gg)
brunch now contains a directory called "template" which contains
base
build
config
src
express
build : is an symlink to ../base/build
config : is an symlink to ../base/config
src : is an symlink to ../base/src
server

in base/src you can find all coffee, styl, eco - files
this leads to the fact by providing only a few if-else conditions we can
define more or less completely differen project-templates

to setup this structure i replaced "#{projectName}" with "app"
Fixed docco generation (only one file was generated)
Added standalon node server using express
It will start by running "brunch watch" command
You can avoid this by providing "--projectTemplate base"

rethink buildPath option

should it work for brunch build or brunch watch when not used in brunch new?

when used with brunch new buildPath could be written to config file

should build folder still be created when defining another build path?

brunch new York fails

23 Feb 21:12:57 - 8080
23 Feb 21:12:57 - Brunch: created brunch directory layout

23 Feb 21:12:57 - Error: ENOENT, No such file or directory

/usr/local/lib/node/.npm/brunch/0.4.1/package/lib/brunch.js:146
for (_i = 0, _len = files.length; _i < _len; _i++) {

TypeError: Cannot read property 'length' of undefined
at /usr/local/lib/node/.npm/brunch/0.4.1/package/lib/brunch.js:146:32
at /usr/local/lib/node/.npm/brunch/0.4.1/package/lib/helpers.js:67:16
at /usr/local/lib/node/.npm/brunch/0.4.1/package/lib/helpers.js:26:16
at /usr/local/lib/node/.npm/brunch/0.4.1/package/lib/helpers.js:3:63

brunch watch crashes ocasionally

I am getting this trace:

fs.js:521
stat.start(filename, options.persistent, options.interval);
^
TypeError: Bad arguments
at Object.watchFile (fs.js:521:10)
at /home/daniel/.nvm/v0.4.7/lib/node/.npm/brunch/0.7.0/package/lib/helpers.js:81:14
at gotStat (fs.js:716:23)

thx, dan

should we endorse a certain CSS preprocessor?

there are quite some CSS preprocessors around:

LESS

pros:

  • written in javascript (not another language as dependency)

cons:

  • uses curly braces

SASS/SCSS

pros:

  • sass uses indention
  • big community

cons:

  • would introduce ruby as dependency (more difficult install process)

Compass (SASS - superset/tooling)

pros:

  • sass uses indention
  • big community
  • nice mixins for vendor-specific css3 prefixes

cons:

  • would introduce ruby as dependency (more difficult install process)

CleverCSS

pros:

  • uses indention

cons:

  • would introduce python as dependency (more difficult install process)

Brunch Architecture Proposal

Brunch Architecture Proposal

What about applying Flask's concept of a small core with lots of "supported" modules/extensions to Brunch. Advantages are easier maintainability and further it's easier to configure it to you needs.

What should be in the core

Backbone
Coffee-script Support
require solution
basic configuration (like template file extension)

What kind of modules could be useful

stylus
less
sass
eco
haml
handlebars
jquery-tmpl
docco
i18n
form/model validation
cache manifest handling
test setup using jasmine
test setup using qunit
uglifyjs
grow notifications

Community

Like Flask we could use an approval process and provide information about these extensions in the documentation. Supported extension will be forked to Brunch organization or created in the Brunch organization if maintained by the team.

I would like to know what you think about this proposal.

greetings nik

brunch watch, Express throws an error

I created a new project with:
brunch new testproject
Then I tried to watch it with:
brunch watch
But outputs the following error with Express:
2011-03-09T01:52:07Z Express err: TypeError: Object # has no method 'staticProvider'
at HTTPServer. (/home/martindev/Projects/testproj/brunch/server/main.js:9:21)
at HTTPServer.configure (/home/martindev/local/node/lib/node/.npm/express/2.0.0beta2/package/lib/http.js:406:8)
at Object. (/home/martindev/Projects/testproj/brunch/server/main.js:7:5)
at Module._compile (module.js:380:26)
at Object..js (module.js:386:10)
at Module.load (module.js:312:31)
at Function._load (module.js:273:12)
at Array. (module.js:399:10)
at EventEmitter._tickCallback (node.js:108:26)
Looking at the line in main.js shows nothing obvious to me.

Node version is v0.5.0-pre, npm is 0.3.15, brunch is 0.5.4, and Express is 2.0.0beta2.

Thanks!

Swaping out jQuery for Zepto?

I want to swap out jQuery for Zepto but can't initially see where it get's built into the brunch script?

I'm interested in creating a mobile template for use with Brunch and jQuery is way too heavy.

update 2011-02-01

Changelog

  • after creating a new project it will be compiled once
  • when building from src also js files will be moved
  • started adding test suite - still al lot test are pending (feel free to implement them)
  • removed legacy optparser (and fixing usage message with nomnom)
  • added cake commands (cake watch and cake test)
  • fancy console output
  • error handling if brunch directory exists
  • refactored fusion to better interact with eco (master)
    • added eco to config/fusion/vendor (will be removed with a npm eco update)

    • by this i was able to remove this workaround

      window.module = {} # dirty workaround until eco's namespace is fixed

brunch 0.7.0 Changelog

Added Stitch

Stitch implements CommonJS modules for the browser. Take a look at it! Brought to you by @sstephenson and @josh.

Benefits of adding Stitch to Brunch:

  • support for nested directory structure

  • one application file (including application files, templates and dependencies)

  • support for commonjs modules http://www.commonjs.org/specs/modules/1.0/

    Since Stitch handles compilation of templates, we were able to remove Fusion as dependency.

Replaced config/ with config.yaml

From now on you are able to change the following options via config.yaml

  • expressPort

  • projectTemplate

  • buildPath

  • dependencies

    dependencies allows you to define an order for the dependencies in src/vendor

Slightly improved documentation

See http://brunchwithcoffee.com/#documentation

Removed docco for now

Will be readded in the next release as brunch extension as described in #41.

Updated components

  • Underscore 1.1.6
  • Backbone master (2011-04-20)
  • Stylus (0.11.10)
  • CoffeeScript 1.0.1

How to upgrade

Since the new version includes some backwards incompatible changes we created a short guide how to upgrade your brunch apps.
see: http://brunchwithcoffee.com/#migrate-to-0-7-0-plus

Updated example-todos

see https://github.com/brunch/example-todos/

cheers,
brunch-team

move fusion config to brunch config

this way we simplify brunch for the developer. only one config file for brunch related stuff.
ideally this would be under the 'fusion' or 'templates' namespace.

coffee compiling fails silently if there is an empty .coffee file

if the project contains an empty .coffee file the compilation fails silently.
this means that the concatenated and compiled js file does not get created.

not sure if this is a problem of how we use the coffee CLI (as in if we should fix it in brunch or in coffee)

Static html generation

The index.html seems to be a static file - is that correct? In capt - I've generate the index.html from an eco template.

It's useful for things like this:

<% for script in app.getScripts() - %>  
  <script src="<%= script %>" />
<% end %>

We could do this as part of the html boilerplate work?

Support jasmine

I'm a fan of jasmine for speccing. I'm working on making jasmine on node.js run with brunch. Would you be happy for this code to make it back to the core?

Brunch watch fails with pipe error

When I run brunch watch it fails with an error pipe(): Too many open files

brunch watch
2011-03-04T15:55:05Z 80802011-03-04T15:55:05Z 80802011-03-04T15:55:05Z Express err: 
node.js:116
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
Error: Cannot find module '/Users/sebastiandeutsch/development/ruby/salon2/brunch/server/main.js'
    at Function._resolveFilename (module.js:289:11)
    at Function._load (module.js:241:25)
    at Array.<anonymous> (module.js:392:10)
    at EventEmitter._tickCallback (node.js:108:26)
pipe(): Too many open files

child_process.js:223
  var fds = this._internal.spawn(path,
                           ^
Error: Error spawning
    at ChildProcess.spawn (child_process.js:223:28)
    at child_process.js:10:15
    at Object.spawnCoffee (/usr/local/lib/node/.npm/brunch/0.4.4/package/lib/brunch.js:92:21)
    at Object.dispatch (/usr/local/lib/node/.npm/brunch/0.4.4/package/lib/brunch.js:62:15)
    at /usr/local/lib/node/.npm/brunch/0.4.4/package/lib/brunch.js:46:22
    at /usr/local/lib/node/.npm/brunch/0.4.4/package/lib/helpers.js:129:22

brunch build runs smoothly, any ideas?

Segmentation fault

$ node -v
v0.4.2

$ brunch new testapp
2011-03-06T21:50:01Z 80802011-03-06T21:50:01Z Brunch: created brunch directory layout

documentation/readme driven development

I think we should ship docco.coffee with brunch. it is small, elegant and motivates to write documented code which is important. nice side effect is that we automatically get more documented example apps through the community. imagine if every [include your favourite framework] app code that is publicly hosted at github would also have docoumentation support.

http://jashkenas.github.com/docco/

template comparison

Since we not sure which tool to choose for templating, we could compare them by real examples

Some thoughts:

  • create a repository for them - could be usefull for other people
  • requirments contain i18n example - this would show how to extend the templating tool
  • performance test with jsperf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.