File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,8 @@ function watcher(error, resp) {
121121 const packageJSON = JSON . parse ( readFileSync ( packageJSONPath , "utf8" ) )
122122 if ( ! packageJSON . scripts || ! packageJSON . scripts . build ) return
123123
124- if ( packageJSON . scripts [ "build-fast" ] ) return `workspace ${ packageJSON . name } run build-fast`
125- return `workspace ${ packageJSON . name } run build`
124+ if ( packageJSON . scripts [ "build-fast" ] ) return `--filter= ${ packageJSON . name } run build-fast`
125+ return `--filter= ${ packageJSON . name } run build`
126126 } )
127127
128128 if ( commandToRun [ 0 ] ) {
@@ -146,7 +146,7 @@ client.on("error", function (error) {
146146 console . error ( "Error while talking to watchman: " , error )
147147} )
148148
149- client . capabilityCheck ( { required : [ "relative_root" ] } , function ( error , resp ) {
149+ client . capabilityCheck ( { required : [ "relative_root" ] , optional : [ ] } , function ( error , resp ) {
150150 if ( error ) {
151151 console . error ( "Error checking capabilities:" , error )
152152 return
You can’t perform that action at this time.
0 commit comments