ember-cli: No longer watching addon directory when isDevelopingAddon is true.

I upgraded to ember-cli 0.2.7 from 0.2.5 a couple of days ago. Today I noticed one of my local in development addons was not being watch by ember server.

The addon is being added to the application like so.

package.json

  "scripts": {
    "start": "ember server",
    "build": "ember build",
    "test": "ember test",
    "preinstall": "npm link ../fp-common",
    "preupdate": "npm link ../fp-common"
  },

addon index.html

module.exports = {
  name: 'fp-common',

  isDevelopingAddon: function() {
    return true;
  }
};

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

👍-ing! For the meantime, I’ve disabled watchman (e.g. using hombrew on mac):

brew unlink watchman

and added to my addon in /index.js

module.exports = {
  name: 'my-addon',
  isDevelopingAddon: function() {
    return true;
  }
};