Disabling liveReload

It seems as though some of my issues may have something to do with done-ssr and liveReload. I do not want service-side rendering so I tried hosting the donejs site using IIS Express through Visual Studio 2015 but then the liveReload tries to do its voodoo. I can see the options for liveReload here:


However, I have no idea where I would place those settings? Is this in the package.json file somewhere?

How does your package.json look ?

  "name": "sentinel",
  "version": "0.0.0",
  "description": "A management and monitoring solution for Shuttle.Esb implementations.",
  "homepage": "https://shuttle.github.io/shuttle-sentinel/",
  "author": {
	"name": "Eben Roux",
	"email": "me@ebenroux.co.za",
	"url": "www.ebenroux.co.za"
  "scripts": {
	"test": "testee src/test.html --browsers firefox --reporter Spec",
	"start": "done-serve --port 8080",
	"develop": "done-serve --develop --port 8080",
	"document": "documentjs",
	"build": "node build"
  "main": "src/app.js",
  "files": [
  "keywords": [
  "system": {
	"main": "sentinel/app.js",
	"directories": {
	  "lib": "src"
	"configDependencies": [
	"npmAlgorithm": "flat"
  "dependencies": {
	"bootstrap": "^3.3.6",
	"can": "^2.3.16",
	"can-connect": "^0.5.0",
	"can-zone": "^0.5.0",
	"done-autorender": "^0.8.0",
	"done-component": "^0.4.0",
	"done-css": "~2.0.2",
	"done-serve": "^0.2.0",
	"generator-donejs": "^0.9.0",
	"i18next": "^3.3.1",
	"i18next-xhr-backend": "^0.6.0",
	"jquery": "~2.2.1",
	"steal": "^0.16.0"
  "devDependencies": {
	"can-fixture": "^0.1.2",
	"documentjs": "^0.4.2",
	"donejs-cli": "^0.9.4",
	"donejs-deploy": "^0.4.0",
	"funcunit": "~3.0.0",
	"steal-qunit": "^0.1.1",
	"steal-tools": "^0.16.0",
	"testee": "^0.2.4"

Remove ‘live-reload’ in config dependencies

Thanks Julian,

That did the trick. Can you perhaps explain why? :slight_smile:

Is there some fundamental npm configuration structure I don’t understand, or is it stealjs-specific?

I like to understand how components interact and why I am doing what I’m doing…

a configDependency will load modules before the main module is loaded.

the live-reload can be enabled see readme

if live-reload is enabled by the configDependency it will load live-reload module and execute this file

it sets liveReloadInstalled = true and steal will check against it https://github.com/stealjs/steal/blob/master/ext/npm-load.js#L151

Thanks for the information Julian,

However, unfortunately I still don’t see where the configuration/options for the live-reload is to be set.

Does the configDependincies in steal refer to “configure dependencies” or “configuration dependencies”. So does it mean the steal is dependent on the specified modules or does it mean that the configuration from those modules has to be loaded before the steal configuration.

I am finding it hard to get any traction as I have no clue what to do and I cannot seem to readily find the information I need. There seems to be a lot of information out there I just do not know how to put it all together. You know, the whole herding cats business :slight_smile:

I just want to build a canjs site. I like the module loading from steal. Currently I don’t quite get donejs. It seems to be pulling a bunch of Bitovi technologies together with some generators. That is all good and nice but I need to understand the atomic bits before putting everything together.