Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error messages? #664

Open
shaekuronen opened this issue Aug 19, 2015 · 2 comments
Open

Better error messages? #664

shaekuronen opened this issue Aug 19, 2015 · 2 comments

Comments

@shaekuronen
Copy link

Currently roots watch is failing silently. app.coffee is

records = require 'roots-records'
sass = require 'node-sass'
js_pipeline = require 'js-pipeline'

module.exports =

    ignores: [
        '**/_*/**/*', '**/_*', '**/layout.*',
        'bower_components', 'bower_components/**/*',
        'data', 'data/**/*',
        '.gitignore', 'bower.json', 'readme.md',
        'circle.yml', '.bowerrc', 'README.html',
        'README.md', 'assets/js/manifest.yml'
    ]

    extensions: [
        js_pipeline(manifest: 'assets/js/manifest.yml', out: 'js/main.js')
    ]

    output: 'build'

    debug: true

    server:
        clean_urls: true

    scss:
        sourceMap: true
        outFile: '/'

    'coffee-script':
        sourcemap: true

    jade:
        pretty: true

    locals:
        images_path: '/img'
        css_path: '/css'
        js_path: '/'

when I comment out the locals and the js_pipeline config, roots watch starts working again and successfully launches local server + opens browser window. Great. What's not so great is having no error messages to determine why this is happening. Is there anyway to get visibility into what's going on inside roots watch?

If it's helpful, I zipped up the project at this point, what's the best way to get it to you?

@zspecza
Copy link
Contributor

zspecza commented Aug 20, 2015

If you run roots watch --verbose, what output do you see?

@shaekuronen
Copy link
Author

@declandewet Was not getting much from roots watch --verbose, hangs on compiling...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants