Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

Commit

Permalink
chore(package): update eslint to version 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
from-the-river-to-the-sea committed Aug 5, 2017
1 parent 4e9c516 commit ace6af3
Show file tree
Hide file tree
Showing 3 changed files with 3,155 additions and 6 deletions.
8 changes: 4 additions & 4 deletions index.js
Expand Up @@ -14,8 +14,8 @@ const semver = require('semver');
// Start up the watcher, but don't watch any files yet.
// We'll add the files we want to watch later, in the startWatching() method.
const watcher = chokidar.watch([
'!**/*___jb_*___', // Ignore temp files created by JetBrains IDEs
'!**/node_modules/**', // Ignore node_modules folders
'!**/*___jb_*___', // Ignore temp files created by JetBrains IDEs
'!**/node_modules/**', // Ignore node_modules folders
'!**/bower_components/**' // Ignore bower_components folders
], {
ignored: /[/\\]\./,
Expand Down Expand Up @@ -168,7 +168,7 @@ module.exports.init = function (rootPath, nodecgVersion, nodecgConfig, Logger) {
return Promise.all(bowerPromises).then(() => {
watcher.add([
bundlesPath + '/**/dashboard/**', // Watch dashboard folders
bundlesPath + '/**/package.json' // Watch bundle package.json files
bundlesPath + '/**/package.json' // Watch bundle package.json files
]);
}).catch(
/* istanbul ignore next */
Expand Down Expand Up @@ -242,7 +242,7 @@ module.exports.remove = function (bundleName) {
module.exports._stopWatching = function () {
watcher.unwatch([
bundlesPath + '/**/dashboard/**', // Unwatch dashboard folders
bundlesPath + '/**/package.json' // Unwatch bundle package.json files
bundlesPath + '/**/package.json' // Unwatch bundle package.json files
]);
};

Expand Down

0 comments on commit ace6af3

Please sign in to comment.