如何仅编译已更改/新文件?

时间:2018-07-12 11:11:35

标签: gulp browserify

此脚本将library(DT) library(tidyverse) dataTableOutput("irisTable") output$irisTable <- renderDataTable( iris %>% rowid_to_column("Row") %>% mutate(Row = ""), rownames = FALSE, extensions = "Select", options = list( columnDefs = list(list(className = "select-checkbox", targets = 0, orderable = FALSE)), select = list(style = "multi", selector = "td:first-child") )) js文件夹中的所有@Mock private EntityManager em; @Mock private Vehicle vehicle; @Mock private Car car; @Mock private Query query; @InjectMocks private YourDAOClass yourDAOClass; @Test public void testMethod(){ List<Vehicle> someList = null; when(em.createQuery(Mockito.anyString(), Mockito.any())).thenReturn(query); when(query.getResultList()).thenReturn(someList); assertThat(yourDAOClass.getData()).isNull() } 文件编译到es6。这些都是单独保存的!路径保持不变,只有.js变为./src。这个很重要!我不想拥有./src/js

当我调用此任务时,每次编译所有./build/js文件。但是,仅应编译当前更改的文件。但是如何?如何将其添加到任务中?

package.json(部分):

bundle.js

gulpfile.js:

.js

0 个答案:

没有答案