We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3999d33 commit 4aa4705Copy full SHA for 4aa4705
grails-core/src/main/groovy/grails/boot/GrailsApp.groovy
@@ -145,7 +145,14 @@ class GrailsApp extends SpringApplication {
145
def projectPaths = binding.getVariables().get('projectPaths')
146
if(projectPaths) {
147
for(path in projectPaths) {
148
- watchBaseDirectories << new File(parentDir, path.toString())
+ if(path) {
149
+
150
+ def pathStr = path.toString()
151
+ if(pathStr.startsWith(':')) {
152
+ pathStr = pathStr.substring(1)
153
+ }
154
+ watchBaseDirectories << new File(parentDir, pathStr)
155
156
}
157
158
0 commit comments