File tree 1 file changed +7
-0
lines changed
packages/angular-cli/lib/cli
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 3
3
// This file hooks up on require calls to transpile TypeScript.
4
4
const cli = require ( 'ember-cli/lib/cli' ) ;
5
5
const UI = require ( 'ember-cli/lib/ui' ) ;
6
+ const Watcher = require ( 'ember-cli/lib/models/watcher' ) ;
6
7
const path = require ( 'path' ) ;
7
8
8
9
Error . stackTraceLimit = Infinity ;
@@ -12,6 +13,12 @@ module.exports = function(options) {
12
13
// patch UI to not print Ember-CLI warnings (which don't apply to Angular-CLI)
13
14
UI . prototype . writeWarnLine = function ( ) { }
14
15
16
+ // patch Watcher to always default to node, not checking for Watchman
17
+ Watcher . detectWatcher = function ( ui , _options ) {
18
+ options . watcher = 'node' ;
19
+ return Promise . resolve ( options ) ;
20
+ }
21
+
15
22
const oldStdoutWrite = process . stdout . write ;
16
23
process . stdout . write = function ( line ) {
17
24
line = line . toString ( ) ;
You can’t perform that action at this time.
0 commit comments