lol ;) I will change it now


2014-02-19 1:58 GMT-05:00 Julien Dubois <notifications@github.com>:

> In
> app/templates/src/main/java/package/config/reload/_JhipsterFileSystemWatcher.java:
>
> > +            if (StringUtils.isEmpty(targetClassesFolder)) {
> > +                logger.warn("SpringLoaded - Unable to load new classes. The -DtargetClassFolder property must be set.");
> > +                return;
> > +            }
> > +
> > +            final Thread thread = new Thread(new JHipsterFileSystemWatcher(targetClassesFolder, classLoader));
> > +            thread.setDaemon(true);
> > +            thread.start();
> > +
> > +            Runtime.getRuntime().addShutdownHook(new Thread() {
> > +                public void run() {
> > +                    JHipsterFileSystemWatcher.isStarted = false;
> > +                    try {
> > +                        thread.join();
> > +                    } catch (InterruptedException e) {
> > +                        logger.error("Failed during the JVM shitdown", e);
>
> shutdown :-)
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/jhipster/generator-jhipster/pull/138/files#r9855812>
> .
>