Closed pushred closed 11 years ago
I copied over this version of Solidus to the site I'm working on but I'm not seeing this in my context. I see the code in lib/server.js
. I do see a new settings
object that includes the environment, but not these variables.
dev
and development
only appear if your server is running in development mode. Are you sure it is?
It would be helpful to include the name of the current environment in the context for all templates for toggling between code to be used in dev (i.e. livereload, alternate account ID's, etc) vs. production. In order for straightforward use in Handlebars I recommend boolean flags for
development
andproduction
, for use like so: