Welcome, Guest Login

Public Cloud Center

CoffeeScript on Xervo

Last Updated: Apr 19, 2017 10:15AM EDT

CoffeeScript applications can be deployed and run without compiling the application by following these steps.

Include the coffee-script module as a dependency

Make sure that your package.json includes coffee-script as a dependency.
You can do this by running the following:
 

​ $ npm install coffee-script --save 

Add a start script

Xervo will run npm start if a start script is specified in package.json so now that coffee-script is included as a dependency, setting your start script to use coffee will run your project using the coffee bin.

Set the start script to use coffee:

​“scripts”: { “start”: “coffee app.coffee” }

 
Go to top
 

Contact Us

    Our Support Policy
    Submit a Support Request

  • Public Cloud Support Hours
    9am-5pm EST Mon-Fri
    Outside of these hours response times may be up to 24hrs.


    Submit a support ticket by clicking 'status and support' icon on the left side of this page.



634cc5b2d7fa75f12801ed480476161d@modulus.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en_us/portal/articles/autocomplete