Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9176605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:08:34+00:00 2026-06-17T17:08:34+00:00

What should I do to set coffeescript in Locomotivejs. It seems very easy, but

  • 0

What should I do to set coffeescript in Locomotivejs.

It seems very easy, but I couldn’t figure that out.

I set options in “all.js”, without luck.

I think I’m almost there or very far to get it right. 🙁

this.set("options",{coffee:true});

Any help is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:08:35+00:00Added an answer on June 17, 2026 at 5:08 pm

    You’ll want to add a server.js file and boot Locomotive with CoffeeScript support, like so:

    locomotive = require('locomotive')
    
    locomotive.boot('.', 'development', {"coffeeScript": true}, (err, server) -> 
      throw err if (err)
    
      server.listen(3000, 'localhost', ()-> 
        addr = this.address()
        console.log('listening on %s:%d', addr.address, addr.port);
      )
    )
    

    To start the app:

    $ node server
    

    There’s more info in this pull request:
    https://github.com/jaredhanson/locomotive/pull/44

    Support for a –coffee option to the lcm command line will be added to an upcoming release.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code that seems like it should set my insertParameter but
I am using WPMU but there are some options that the administrator should set
Is there any penalty, such that you should only set them as nullable when
I want to find a minimal set of headers, that work with all caches
my application like calendar view and i should set all views onload so should
I set the data-main for Requirejs and according to the documentation that should set
I'm writing a script that should set filesystem access rights for a folder and
I know that for ADHoc version I should set in entitlement.plist a NO value
as all you know, when you describe varchar or integer fields you should set
I familiar with the fact that I should set the HTTP_RPOXY environment variable to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.