File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,9 @@ class Embark {
194194 engine . startService ( "libraryManager" ) ;
195195 engine . startService ( "codeRunner" ) ;
196196 engine . startService ( "web3" ) ;
197- engine . startService ( "pipeline" ) ;
197+ if ( ! options . onlyCompile ) {
198+ engine . startService ( "pipeline" ) ;
199+ }
198200 engine . startService ( "deployment" , { onlyCompile : options . onlyCompile } ) ;
199201 engine . startService ( "storage" ) ;
200202 engine . startService ( "codeGenerator" ) ;
@@ -209,6 +211,9 @@ class Embark {
209211 engine . logger . info ( "Finished deploying" . underline ) ;
210212 // Necessary log for simple projects. This event is trigger to soon because there is no file
211213 // Also, not exiting straight after the deploy leaves time for async afterDeploys to finish
214+ if ( options . onlyCompile ) {
215+ return callback ( ) ;
216+ }
212217 engine . logger . info ( "If you have no files to build, you can exit now with CTRL+C" ) ;
213218 engine . events . on ( 'outputDone' , callback ) ;
214219 }
You can’t perform that action at this time.
0 commit comments