久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <legend id='43RoO'><style id='43RoO'><dir id='43RoO'><q id='43RoO'></q></dir></style></legend>

      <i id='43RoO'><tr id='43RoO'><dt id='43RoO'><q id='43RoO'><span id='43RoO'><b id='43RoO'><form id='43RoO'><ins id='43RoO'></ins><ul id='43RoO'></ul><sub id='43RoO'></sub></form><legend id='43RoO'></legend><bdo id='43RoO'><pre id='43RoO'><center id='43RoO'></center></pre></bdo></b><th id='43RoO'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='43RoO'><tfoot id='43RoO'></tfoot><dl id='43RoO'><fieldset id='43RoO'></fieldset></dl></div>

        <small id='43RoO'></small><noframes id='43RoO'>

          <bdo id='43RoO'></bdo><ul id='43RoO'></ul>
        <tfoot id='43RoO'></tfoot>
      1. Nodemon監視選項損壞

        Nodemon watch option broken(Nodemon監視選項損壞)

          <small id='vBJUV'></small><noframes id='vBJUV'>

              <tbody id='vBJUV'></tbody>
            <legend id='vBJUV'><style id='vBJUV'><dir id='vBJUV'><q id='vBJUV'></q></dir></style></legend>
          • <i id='vBJUV'><tr id='vBJUV'><dt id='vBJUV'><q id='vBJUV'><span id='vBJUV'><b id='vBJUV'><form id='vBJUV'><ins id='vBJUV'></ins><ul id='vBJUV'></ul><sub id='vBJUV'></sub></form><legend id='vBJUV'></legend><bdo id='vBJUV'><pre id='vBJUV'><center id='vBJUV'></center></pre></bdo></b><th id='vBJUV'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vBJUV'><tfoot id='vBJUV'></tfoot><dl id='vBJUV'><fieldset id='vBJUV'></fieldset></dl></div>
                • <bdo id='vBJUV'></bdo><ul id='vBJUV'></ul>
                  <tfoot id='vBJUV'></tfoot>
                  本文介紹了Nodemon監視選項損壞的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我正在使用 gulp-nodemon

                  config 目錄只包含一個文件 server.js.

                  config directory includes only one file, server.js.

                  $.nodemon({
                    script: 'config/server.js',
                    watch: ['config/**/*.js']
                  })
                  .on('restart', function () {
                    setTimeout(function () {
                      $.livereload.changed();
                     }, 1000);
                   });
                  

                  輸出:

                  [gulp] [nodemon] v1.2.1
                  [gulp] [nodemon] to restart at any time, enter `rs`
                  [gulp] [nodemon] watching: config/**/*.js
                  [gulp] [nodemon] starting `node config/server.js`
                  [gulp] [nodemon] watching 34,325 files - this might cause high cpu usage. To reduce use "--watch".
                  

                  如果我包含一個忽略選項,它會修復.

                  If i include an ignore option it fixes.

                  ignore: [
                    'node_modules/**',
                    'bower_components/**'
                  ]
                  

                  即使我告訴它只看配置目錄,為什么 nodemon 還要看一切?

                  Why does nodemon watch everything even when I tell it to watch only config directory?

                  從輸出中也可以看出,它只監視配置目錄 [nodemon] 監視:config/**/*.js

                  Also it appears from the output it only watches the config directory [nodemon] watching: config/**/*.js

                  推薦答案

                  這似乎是 nodemon 的錯誤 本身,因為我能夠使用簡單的 nodemon 命令重現它:

                  This seems to be a bug with nodemon itself, because I was able to reproduce it using the simple nodemon command :

                  > nodemon --watch app server.js
                  [nodemon] v1.2.1
                  [nodemon] to restart at any time, enter `rs`
                  [nodemon] watching: app/**/*
                  [nodemon] starting `node server.js`
                  [nodemon] watching 72,981 files - this might cause high cpu usage. To reduce use "--watch"
                  

                  nodemon 的默認行為是監視項目根目錄下的所有目錄,并忽略一些目錄,如 node_modulesbower_components.sass_cache.這個默認的 ignore 實際上不起作用,但已在 此 PR 中修復.應用此修復程序,我的輸出與預期一樣.

                  The default behavior of nodemon is to watch all the directories in the root of your project, and to ignore some directories like node_modules, bower_components or .sass_cache. This default ignore don't work actually, but was fixed in this PR. Applying this fix, my output was just as expected.

                  > nodemon --watch app server.js
                  [nodemon] v1.2.1
                  [nodemon] to restart at any time, enter `rs`
                  [nodemon] watching: app/**/*
                  [nodemon] starting `node server.js`
                  

                  我使用這兩種配置進行了測試,即使出現警告,我的 nodemon 也沒有刷新不在指定 watched 目錄中的文件更改,并且正常工作正如預期的那樣,沒有性能問題.這更可能是對我的誤報警告.

                  I tested using both configurations, and even with the warning, my nodemon was not refreshing on a file change that is not in the specified watched directory, and working just as expected with no performance issue. It's more likely a false-positive warning to me.

                  但現在我建議您堅持使用 ignore 規則,直到將其合并到 nodemon 或找到其他解決方法.

                  But for now I advice you to stay with your ignore rule until this is merged into nodemon or another workaround is found.

                  這里有一些相關的問題:#46, #366 和 #32

                  Here some related issues about that : #46, #366 and #32

                  這篇關于Nodemon監視選項損壞的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運算符上的意外令牌)
                  Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標志傳遞給 Gulp 以使其以不同的方式運行任務?)
                  Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                  How to run Gulp tasks sequentially one after the other(如何一個接一個地依次運行 Gulp 任務)
                  Stylesheet not loaded because of MIME-type(由于 MIME 類型而未加載樣式表)
                  Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時 Visual Studio 2015 崩潰)
                • <i id='LFySl'><tr id='LFySl'><dt id='LFySl'><q id='LFySl'><span id='LFySl'><b id='LFySl'><form id='LFySl'><ins id='LFySl'></ins><ul id='LFySl'></ul><sub id='LFySl'></sub></form><legend id='LFySl'></legend><bdo id='LFySl'><pre id='LFySl'><center id='LFySl'></center></pre></bdo></b><th id='LFySl'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='LFySl'><tfoot id='LFySl'></tfoot><dl id='LFySl'><fieldset id='LFySl'></fieldset></dl></div>
                        <tbody id='LFySl'></tbody>

                      1. <small id='LFySl'></small><noframes id='LFySl'>

                            <bdo id='LFySl'></bdo><ul id='LFySl'></ul>
                          • <tfoot id='LFySl'></tfoot><legend id='LFySl'><style id='LFySl'><dir id='LFySl'><q id='LFySl'></q></dir></style></legend>
                            主站蜘蛛池模板: 精品毛片 | 国产成人高清视频 | 亚洲成人在线免费 | 一区二区视频 | 成人免费视频观看视频 | 国外成人在线视频 | 999久久久久久久久6666 | 国产激情一区二区三区 | 国产精品免费一区二区三区四区 | 免费精品 | 久久久久国产一区二区三区四区 | 欧美久久一区 | 亚洲午夜一区二区 | 亚洲黄色一级毛片 | 国产精品欧美一区二区三区不卡 | 欧美成人免费 | 国产亚洲精品美女久久久久久久久久 | 日韩免费视频一区二区 | 欧一区二区 | av网站在线播放 | 情侣av | 成人片免费看 | 在线看无码的免费网站 | 亚洲精品在线看 | 中文字幕视频在线 | 99re66在线观看精品热 | 九九99靖品 | 国产一区二区三区四区三区四 | 91免费看片| 亚洲精品在线观看视频 | 欧美综合一区二区 | 蜜桃精品视频在线 | 一区二区三区免费观看 | 欧美极品在线 | 日日夜夜天天干 | 国内自拍视频在线观看 | 亚洲精品久久久一区二区三区 | 国产一区二区三区在线看 | 欧美成年网站 | 国产精品国产a级 | 欧美v日韩v |