File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const asset_copier = () => {
3939 p ,
4040 dest ,
4141 options
42- ) . on ( copy . events . COPY_FILE_COMPLETE , ( copyOperation ) => {
42+ ) . on ( copy . events . COPY_FILE_COMPLETE , ( ) => {
4343 if ( options . debug ) {
4444 console . log ( `Moved ${ p } to ${ dest } ` ) ;
4545 }
@@ -121,7 +121,7 @@ const asset_copier = () => {
121121 if ( options . watch ) {
122122
123123 // watch global structures, such as _data/* and _meta/
124- const globalSources = [ assetDirectories . source . data , assetDirectories . source . meta ]
124+ const globalSources = [ assetDirectories . source . data , assetDirectories . source . meta ] ;
125125 const globalPaths = globalSources . map ( globalSource => path . join (
126126 basePath ,
127127 globalSource ,
@@ -154,14 +154,13 @@ const asset_copier = () => {
154154 globalWatcher . on ( 'addDir' , ( p ) => {
155155 patternlab . events . emit ( 'patternlab-global-change' , {
156156 file : p
157- } )
157+ } ) ;
158158 } )
159159 . on ( 'add' , ( p ) => {
160160 patternlab . events . emit ( 'patternlab-global-change' , {
161161 file : p
162162 } ) ;
163163 } ) . on ( 'change' , ( p ) => {
164- console . log ( 145 , 'global change watch' )
165164 patternlab . events . emit ( 'patternlab-global-change' , {
166165 file : p
167166 } ) ;
You can’t perform that action at this time.
0 commit comments