2016-11-08 57 views
0

目的:的Facebook陣營本土熱門刷新不工作(Ubuntu的14.04)

我試圖讓熱重裝工作,在那裏我做的代碼庫的變化,出現了Android模擬器作爲內變化標榜。

問題:

它不工作,我有一種感覺它與Facebook的守望者。每次我進行了更改代碼庫中,反應本地服務器說

[sane] Warning: Lost connection to watchman, reconnecting.. 
[sane] Warning: Lost connection to watchman, reconnecting.. 
[sane] Warning: Lost connection to watchman, reconnecting.. 
etc.... 

BTW:是的,我啓用了從開發菜單熱重裝Android模擬器


OS中:

Ubuntu 14.04.5 LTS 

柝:

watchman watch-list 
{ 
    "version": "4.7.0", 
    "roots": [ 
     "/home/andey/Downloads/wyse" 
    ] 
} 

陣營母語:

react-native -v 
react-native-cli: 1.2.0 
react-native: 0.36.1 


[email protected]:~/Downloads/wyse$ react-native start 
(node:9646) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. 
(node:9646) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead. 
Scanning 709 folders for symlinks in /home/andey/Downloads/wyse/node_modules (7ms) 
┌────────────────────────────────────────────────────────────────────────────┐ 
│ Running packager on port 8081.           │ 
│                   │ 
│ Keep this packager running while developing on any JS projects. Feel  │ 
│ free to close this tab and run your own packager instance if you   │ 
│ prefer.                 │ 
│                   │ 
│ https://github.com/facebook/react-native         │ 
│                   │ 
└────────────────────────────────────────────────────────────────────────────┘ 
Looking for JS files in 
    /home/andey/Downloads/wyse 

[Hot Module Replacement] Server listening on /hot 

React packager ready. 

[11/8/2016, 3:21:54 PM] <START> Initializing Packager 
[11/8/2016, 3:21:54 PM] <START> Building in-memory fs for JavaScript 
[11/8/2016, 3:21:54 PM] <END> Building in-memory fs for JavaScript (133ms) 
[11/8/2016, 3:21:54 PM] <START> Building Haste Map 
[11/8/2016, 3:21:54 PM] <END> Building Haste Map (94ms) 
[11/8/2016, 3:21:54 PM] <END> Initializing Packager (295ms) 
[sane] Warning: Lost connection to watchman, reconnecting.. 
[sane] Warning: Lost connection to watchman, reconnecting.. 
[11/8/2016, 3:22:19 PM] <START> Requesting bundle: {"url":"/index.android.bundle?platform=android&dev=true&hot=true&minify=false"} 
[11/8/2016, 3:22:19 PM] <START> Transforming modules 
transformed 641/641 (100%) 
[11/8/2016, 3:22:20 PM] <END> Transforming modules (1047ms) 
[11/8/2016, 3:22:20 PM] <END> Requesting bundle: {"url":"/index.android.bundle?platform=android&dev=true&hot=true&minify=false"} (1173ms) 
[Hot Module Replacement] Client connected 
[sane] Warning: Lost connection to watchman, reconnecting.. 
[sane] Warning: Lost connection to watchman, reconnecting.. 
[sane] Warning: Lost connection to watchman, reconnecting.. 
[sane] Warning: Lost connection to watchman, reconnecting.. 

回答

0

我徹底從系統中卸載watchman和熱重裝開始工作。這是我的巧合,我不確定,但它現在正在工作。