Groups
Groups
Sign in
Groups
Groups
nodester
Conversations
About
Send feedback
Help
Running with --harmony flag
47 views
Skip to first unread message
pim vdb
unread,
Jul 8, 2012, 7:44:24 AM
7/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node...@googlegroups.com
I'd like to use some harmony features on Nodester. How can I run an app with the --harmony flag? I'm targeting node 0.8.1.
Alejandro Morales Gámez
unread,
Jul 8, 2012, 10:14:03 PM
7/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node...@googlegroups.com
Hi! Yes you can run your app with node flags (--v8-options, --harmony and many others) see this silly example ->
http://harmony.nodester.com/
What you need to do?
Well, only add a new key in your package.json with the name of "flags" (Array) and the correct node version (0.8.1):
{
...
"node" : "0.8.1"
"flags":["--harmony"]
...
}
See the example package.json ->
http://harmony.nodester.com/package.json
And the server too ->
http://harmony.nodester.com/s
erver.js
/be
pim vdb
unread,
Jul 9, 2012, 7:15:55 AM
7/9/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node...@googlegroups.com
Thanks a lot for the explanation, wonderful!
Reply all
Reply to author
Forward
0 new messages