Description
When calling xcode-select I dont see the xcodeengine rescan occuring, I broke the code out into the below and when running xcode-select a new event is not sent
const msgpack = require('msgpack-lite');
const util = require('util');
const WebSocket = require('ws');
const data = {
path: '/private/var/db/xcode_select_link'
}
const ws = new WebSocket('ws://127.0.0.1:1732', {
headers: {
'User-Agent': __filename
}
})
.on('message', (msg, flags) => {
console.log(msgpack.decode(msg));
})
.on('close', () => console.log('CLOSED'))
.on('open', () => ws.send(JSON.stringify({ version: '1.0', path: '/appcd/fswatch', data, id: Date.now(), type: 'subscribe' })));
I believe this is because we're adding the watcher on the xcode/contents/developer path, and therefore we're not being notified of the change
[~cbarber] Mind if I kick this one over to you?
[~eharris] Sure, I'm on it.
https://github.com/appcelerator/appc-daemon/pull/207